Tips and Tricks for Moving Databases Print this Article
When you move databases to our servers, the database name and username may change. This change must be updated in your script code. (The database name and username is clearly displayed in cPanel, in the MySQL area.)
On Shared servers, the database username cannot be changed to something without the cPanel username in it. This is to keep database names and usernames from conflicting with others on the server.
MySQL User Has No Privileges
Since the 11.25 update, we've noticed an occasional bug where adding an IP to the MySQL remote access list results in the corresponding MySQL user having no privileges.
In order to get the correct privileges added:
- Go to your MySQL Databases in cPanel.
- Re-add the user to each database by selecting the user and the database from the drop-down menus.
- Reassign the privileges.
- Click Add.
We have notified cPanel about the issue in hopes of this bug being corrected in newer updates.
Was this answer helpful?
Log into cPanel: cPanel is a web hosting account management tool available on all WebSupporters...
Create Custom error pages in Cpanel: To create a custom error page for your account, please...
Change the password of your cPanel account:There may be times where you would like to change the...
Connect to the MySQL Database in cPanel:In order for your MySQL database to work as intended, it...
Connect to the MySQL Database Remotely in cPanel: Allowing remote MySQL connections is often...