Lost my DB password

Having trouble installing serendipity?
Post Reply
StarF
Regular
Posts: 66
Joined: Thu Sep 29, 2005 4:53 pm
Location: Denmark
Contact:

Lost my DB password

Post by StarF »

Hi

When upgrading my Seridity it for some reason lost the password for the db, and i couldent remember it, so i changed it (the password is encryuptet so i cant get it out only change it) now i am getting a

Code: Select all

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'starf'@'localhost' (using password: YES) in /usr/home/www/evilsun.dk/www/blog/include/db/mysql.inc.php on line 149
DATABASE_ERROR 
in what file does serindipity save the password, caus then i should be able to correct it there and have my site running again :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Lost my DB password

Post by garvinhicking »

Hi!

Serendipity saves the db password in the file serendipity_config_local.inc.php.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
StarF
Regular
Posts: 66
Joined: Thu Sep 29, 2005 4:53 pm
Location: Denmark
Contact:

Post by StarF »

perfect :) tnx

gonna try a update again :) hopefully it will go smoth this time
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Alright. You might need to edit your config_local file to reflect the version number you were upgrading from so that all missing tables can be created.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply