SQL Errors
If you have SQL connection errors, please make sure you have followed the instructions in our Remote Database Connection Setup article.
Examples of MySQL errors
Couldn't connect to the server.
This kind of error clearly shows the issue. Access denied lets you know immediately that the database name or password is incorrect in your PHP file. The database and username must always have the appropriate prefix of username_ (replace username with your actual cPanel username and don't forget the underscore "_"). You can copy the correct spelling from your cPanel, under the MySQL Databases section.
This kind of error means you have made a mistake in your coding. Generally, it indicates missing punctuation as PHP code is very sensitive. Unfortunately, our support staff is not trained to deal with coding issues, and this may fall beyond our scope of support. Issues dealing with scripting, coding, or third-party products may be best consulted with a professional programmer, design group, or developer of the third-party product.