views:

5079

answers:

6

I have a mySQL database behind a Joomla install. I changed the database password because I forgot it but now Joomla crashes looking for the database.

I guess joomla has the password written somewhere - if anyone knows I might be able to manual edit it and enter the new database password.

Otherwise I'm hoping a manual install of a backup of the original database will work. I need to know does a backup include the database password. If yes, will reinstating my original database solve the problem for me by reverting the system back to it's original password?

Please help. thx, s.

+4  A: 

You probably want to look at your configuration.php and thease variables which sets your database connection:

var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'your database username';
var $password = 'your database password';
var $db = 'database name';
var $dbprefix = 'jos_';

The file should be in your joomla-root.

Fluff
A: 

perfect - thanks

A: 

I changed the password here, but am still getting the error. Could there be another place I should look?

A: 

above mentioned is not the db password its the joomla password, i'm also looking for the db password which is not in the configuration.php file

sam
A: 

I ran into the same problem and the above worked for me, but the password should be down at the bottom of the list of var's

runrusrun
A: 

thanks runrusrun. Your tip helped solved my problem

fru