I think there is a file called database.mysql.php, but I bet you could grep for 'localhost', and I am sure you will find the file quickly (assuming it is set to connect to localhost).
try: grep -R -C 4 localhost * To recover the admin password, see: http://www.google.com/search?q=joomla+recover+admin+password Regards, John Cambpell On Thu, Nov 5, 2009 at 7:42 PM, Brian O'Connor <gatzby...@gmail.com> wrote: > Hey Guys > > This is slightly off topic but I don't know where else to turn. > > I just inherited a client who had their site developed in Joomla, and when > it came time for the developer to turn over the access things apparently > went south and the administrative password for Joomla was never given to the > client. Now, he can't update his site. He has access to the server with > all the source code, so I'm relatively sure the password can be reset. > However, I'm having trouble finding the variables I need in order to connect > tot he database and reset the variables. > > where do I look in order to find out what database information the site is > using, and once I find that file, what specific variables am I supposed to > look at? > > Thanks in advance, > Brian O'Connor > > -- > Brian O'Connor > > _______________________________________________ > New York PHP Users Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/Show-Participation > _______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation