How do I change the name of MySQL database in cPanel?

Step 1: Login to cPanel

Step 2: Enter your username and password. Click the blue login button to log in to the main cPanel page.

Step 3. Once you’re logged in, locate the "Databases" section of cPanel. Within, there is an icon for "MySQL® Databases". Click on the “MySQL® Databases" icon.

Step 4. In MySQL® Databases under “Current Databases”, locate the database you want to rename and click Delete under the “Actions” column.

Step 5. The Rename Database dialog box appears. In the New name text box, enter the new name for the database.

Step 6. Click Proceed. cPanel renames the database.

To make sure database is functioning well for users after the changing of name. You must do the following:

  • Update the database name in the configuration files in the site.
  • Reconfigure user permissions or privileges.

Was this useful? Share it!

UK REGISTERED COMPANY 11074916 |
Copyright © 2019 - Solelyweb Ltd - All Rights Reserved |