access denied

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
carolus47
Regular
Posts: 9
Joined: Sun Nov 25, 2007 8:38 am

access denied

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: access denied

Post 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
# 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