Cannot connect to database

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?

 Print this Article

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 website is running slow

If you are using a forum or content management system, make sure that caching is enabled. Caching...

Files fail FTP transfer

When uploading many files at once (a CMS, for example), it is not uncommon for a few of the files...

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...

Powered by WHMCompleteSolution