This blog is not updated any more. Here's the new blog.


How to solve Joomla 1.5 database connection problems

While trying to install Joomla! 1.5, it's possible to get an error about the database configuration.

As you get to the Database Configuration screen, while the inserted data is correct, there could be an error that says that it can't connect to the database.

The possible problem could be that you've installed MySQL 5 and you're using its password authentication, not supported by Joomla!. You have to revert back to the MySQL 4.1 authentication method.

How can you do that? Open up the MySQL command line, and insert the following SQL line:

SET PASSWORD for 'admin' = OLD_PASSWORD('password');

This way we tell the MySQL server to use the old authentication method, thus allowing the Joomla! 1.5 server to work as expected.


Bookmark and Share

4 Comments for the post “How to solve Joomla 1.5 database connection problems”

resouces stuff Says:

information…

resources…

FourPx Says:

Hi,

Got the answer…thanks……

FourPx

ryan Says:

hoooooope this works fine.. I’ve been searching with this problem a couple days. :( (

raj Says:

Database Error: Unable to connect to the database:Could not connect to database

THIS ERROR CAME TO http://www.kjtransnational.com webpage.
How to solve this problme in joomla with mysql?

Comments are closed.