Sunday, February 3, 2013

Solve "Database connection error (3): Could not connect to database" Joomla ! Problem

"Database connection error (3): Could not connect to database" in Joomla! CMS


"Database connection error (3): Could not connect to database" in Joomla! CMS

This error message usually means that you are connecting to the wrong database server. For most Joomla installations, the joomla files themselves and the database it connects to are on the same server. When this is the case, "localhost" should be used the database server. We recreated this error message by setting the database host to "localhosttt" (localhost spelled wrong)

If your Joomla site is setup like most, check your configuration.php file and ensure your database host is set to "localhost". This is setting looks like the following in your config file: public $host = 'localhost';



Disqus Comments