Page 1 of 1

access denied

Posted: Thu Jun 26, 2008 9:53 pm
by carolus47
Hi, I cannot access my s9y installation. The message:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user xxx@'localhost' (using password: YES) in /www/htdocs/yyy/weblog/include/db/mysql.inc.php on line 270

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'wwwrun'@'localhost' (using password: NO) in /www/htdocs/yyy/weblog/include/db/mysql.inc.php on line 271

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /www/htdocs/yyy/weblog/include/db/mysql.inc.php on line 271

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /www/htdocs/yyy/weblog/include/db/mysql.inc.php on line 281

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /www/htdocs/yyy/weblog/include/db/mysql.inc.php on line 281
serendipity error: unable to connect to database - exiting.

What could be the reason for this?
carolus

Re: access denied

Posted: Fri Jun 27, 2008 8:33 am
by garvinhicking
Hi!

This happens because the password you entered in serendipity to your database is no longer valid. So either your database provider changed the username/password, or you did.

You must now either change the MySQL password back to the previous one, or you must edit the serendipity_config_local.inc.phpfile and insert the new database credentials. If you cannot write to that file, check the FAQ on www.s9y.org about the "fixperm.php" script.

Regards,
Garvin