Joomla Database Password

Need help with the Administration of your Joomla! site? Pop your questions in here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
cormacm82
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Aug 12, 2009 3:28 pm

Joomla Database Password

Postby cormacm82 » Tue Sep 01, 2009 11:46 am

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.

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19640
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Joomla Database Password

Postby dhuelsmann » Tue Sep 01, 2009 11:51 am

Gee - my line 57 = }
The DB password is located in

Code: Select all

var $password = '';
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

skoobi
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 238
Joined: Mon Dec 11, 2006 1:39 pm
Location: Pembrokeshire, Wales, UK

Re: Joomla Database Password

Postby skoobi » Tue Sep 01, 2009 11:52 am

It will be in the configuration.php normally on line 54 'var $password =' 'yourpassword';

Hope this helps...
Please read the Forum rules regarding signatures: viewtopic.php?t=65

cormacm82
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Aug 12, 2009 3:28 pm

Re: Joomla Database Password

Postby cormacm82 » Tue Sep 01, 2009 11:54 am

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.

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19640
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Joomla Database Password

Postby dhuelsmann » Tue Sep 01, 2009 12:05 pm

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 = '';
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

andymackk
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Aug 20, 2009 10:28 am

Re: Joomla Database Password

Postby andymackk » Wed Jun 09, 2010 1:54 pm

Bit Late - but that helped me - thanks

Andy :geek:

tsakdim
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Nov 07, 2012 3:03 pm

Re: Joomla Database Password

Postby tsakdim » Tue Dec 11, 2012 3:37 pm

Helpful!

User avatar
Tangeray
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Thu Jan 01, 2009 7:08 am
Contact:

Re: Joomla Database Password

Postby Tangeray » Sat Mar 28, 2015 10:22 pm

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)
10 years ago I hired someone to create a site in Joomla......

I need help to make the world a better place.


Return to “Administration - 1.0.x”

Who is online

Users browsing this forum: No registered users and 2 guests