Database Troubleshooting Tips

While Troubleshooting if you get “Cannot connect to the database” such errors… Here are a some important things (common mistakes)that you have to take a look at:

After you created your database and database user make sure that you didn’t forget to ADD the database user to the database (at the bottom of the “Databases” section in Control Panel > MySQL Databases. Just scroll down of page and you will see an “Add User to DB” button).

mysqldb

mysqldb-1

Confirm that you entered your domain name as the database host/server name and if applicable that you specified MySQL for the database server type.

– Make sure that you specified the correct database and database username. These values are cAsE sEnSiTiVe be aware that your account userid (usually the first 7 characters of your domain name) is added with an underscore as a prefix to both your database and database user names (userid_dbname rather than just dbname and userid_dbuser instead of just dbuser).

– As far as the password make sure that you use the password that you assigned to your database user in MySQL Manager (NOT your account password)