Skip to main content

rename database cpanel still shows old name

Comments

6 comments

  • cPanelMichael
    Hello, Could you confirm if you renamed the database through phpMyAdmin? If so, this is unsupported and can result in issues with cPanel detecting the database name. The supported method of renaming a database is under the "Actions" tab under the MySQL Databases option in cPanel. As a workaround, try using "WHM Home " SQL Services " Database Map Tool" to map the new database name to the cPanel account. Thank you.
    0
  • asmithjr
    In the users's phpmyadmin the DB does not appear. The old db name appears in the MySQL Databases for the user. In the root phpmyadmin the DB changed as expected and as I stated it works from the website forms.
    0
  • asmithjr
    I cannot find the option for "The supported method of renaming a database is under the "Actions" tab under the MySQL Databases option in cPanel" I was able to use the Database Map Tool and now the DB shows up in the cPanel account. Strange if it is not supported to rename a DB the way I did it that it is even an option. I using 64.0.33 build.
    0
  • 24x7server
    Hi, You have done it in different way. You have done through the cPanel interface itself, but you did it through PHPmyadmin, which has no control over the DB created through the cPanel interface. You may have broken the connectivity, so it will not display. Please note manual action do not reflect and same is the case in your scenario. Now, there are 2 ways for you to do this; 1) Go through the cPanel architecture of this account and rename the DB manually to the new one that you changed.. OR 2) Take the backup of the current database manually properly, drop it first from the cPanel and then from phpmyadmin, after you remove the database completely from the server, create new one and restore the backup you took over the new database...
    0
  • cPanelMichael
    Strange if it is not supported to rename a DB the way I did it that it is even an option. I using 64.0.33 build.

    Hello, In "cPanel >> MySQL Databases", under "Current Databases", you should see a "Rename" link under the "Actions" column. It's documented under the "Rename A Database" section at: MySQL Databases - Documentation - cPanel Documentation Renaming a database through the MySQL command line or through phpMyAdmin is not supported. Thank you.
    0
  • asmithjr
    Michael, I apologize about the Actions tab. I was looking for a tab on the page. I see where you are saying this. I did take care of this and all is well. Please marked this solved.
    0

Please sign in to leave a comment.