Page 1 of 1

Lost my DB password

Posted: Wed Jun 28, 2006 2:43 pm
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 :)

Re: Lost my DB password

Posted: Wed Jun 28, 2006 3:47 pm
by garvinhicking
Hi!

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

Best regards,
Garvin

Posted: Wed Jun 28, 2006 3:52 pm
by StarF
perfect :) tnx

gonna try a update again :) hopefully it will go smoth this time

Posted: Wed Jun 28, 2006 4:05 pm
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