cheap cigarettes

Frequently Asked Questions

Do you have a question, read this before sending us a support email...

ERROR: Could not connect to Database Server

Date added:
Friday, 21 November 2008
Last revised:
Tuesday, 14 July 2009
Hits:
2908
Rating:
 
Vote for this:
Good  -  Bad

Answer

When you install or change the password to my MySQL database on web hosting control panel, you will encounter the following error:

"This site is temporarily unavailable. Please notify the System Administrator. Could not connect to the database server"

This is a connection issue which could be due the following:

  • incorrect username or password;
  • mysql is off or not installed on the same server;
  • if on an external server, firewalls could prevent access;
  • could be the incorrect mysql version, check the requirements; or
  • on some virtual servers, the database includes a preset prefix like: username_dbname

To solve this make sure you put the correct database localhost and username and database name.

FTP to your server and open the configuration.php file. Scan through the code and you will see an item that says "mosConfig_password = XXXXXXXX ".

That is the mySQL password your Joomla! site uses.

If you update that password with the one you changed on your Joomla! database , it should work again.

Category

Tags for this item

Home / FAQ / Joomla! Hosting Support / ERROR: Could not connect to Database Server