Page 1 of 1

Joomla Database Password

Posted: Tue Sep 01, 2009 11:46 am
by cormacm82
Hi folks,
I have FTP access to a Joomla installation and I'm trying to figure out what the MySQL password is as I need to do a DB backup before I upgrade Joomla. I have opened up the configuration.php file in the root of the installation and I used the entry located on line 57 against the variable $mosConfig_password but this value doesn't seem to be the DB password.

Where can I find the DB password?

Thanks.

Re: Joomla Database Password

Posted: Tue Sep 01, 2009 11:51 am
by dhuelsmann
Gee - my line 57 = }
The DB password is located in

Code: Select all

var $password = '';

Re: Joomla Database Password

Posted: Tue Sep 01, 2009 11:52 am
by skoobi
It will be in the configuration.php normally on line 54 'var $password =' 'yourpassword';

Hope this helps...

Re: Joomla Database Password

Posted: Tue Sep 01, 2009 11:54 am
by cormacm82
Hi guys, thanks for the replies.
I don't have a var $password = ''; entry in my configuration.php file. I'm using Joomla 1.0.15 Stable.

Re: Joomla Database Password

Posted: Tue Sep 01, 2009 12:05 pm
by dhuelsmann
Then you shouldn't be posting in a 1.5.x forum!
Thread moved to 1.0.x forum.
You should be looking for

Code: Select all

$mosConfig_password = '';

Re: Joomla Database Password

Posted: Wed Jun 09, 2010 1:54 pm
by andymackk
Bit Late - but that helped me - thanks

Andy :geek:

Re: Joomla Database Password

Posted: Tue Dec 11, 2012 3:37 pm
by tsakdim
Helpful!

Re: Joomla Database Password

Posted: Sat Mar 28, 2015 10:22 pm
by Tangeray
Yes - this is correct.

Note - database password is in configuration.php NOT config.php (unless, I am assuming, you made a lot of changes to your joomla core files)