Knowledgebase

Cannot connect to database  Print this Article

This error will occur within a web application when any of the following conditions are met:

  • The database username is incorrect;
  • The database password is incorrect;
  • The database name is incorrect;
  • The database location is incorrect (the correct setting is localhost for most of our services); or
  • The database server is unavialble
Ensure that your database information is correct, and then try again. If the problem persists, contact our technical support and we would be more than happy to assist you.

Was this answer helpful?

Also Read

PHP failed to include file: File Not Found
The PHP include() File Not Found error will occur when a .php file attempts to include another...
I can't login to cPanel
Ensure that caps lock is off, and that you are completely sure what your cPanel password is. If...
My webpage is displaying ads
If your website is not pulling up and is instead showing advertisements, the most likely cause is...
Page says function not found, but the page exists
If your web application uses a function found in a particular file, but the application says that...
Page is displaying 404 Page Not Found error
The 404 Page Not Found error means that the user requested a page on the server that does not...