Cannot access admin after MySQL password change

Having trouble installing serendipity?
Post Reply
Alexander_vD
Posts: 2
Joined: Mon Jan 14, 2013 8:51 pm

Cannot access admin after MySQL password change

Post by Alexander_vD »

Hello all,

I changed my mySQL password. Unfortunately, I cannot open the admin.php anymore now. The following code appears:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'HgWXHc'@'web28.tiscomhosting.nl' (using password: YES) in /var/www/g6589/alexandervandeursen.nl/HTML/serendipity5/include/db/mysql.inc.php on line 270

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/g6589/alexandervandeursen.nl/HTML/serendipity5/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 /var/www/g6589/alexandervandeursen.nl/HTML/serendipity5/include/db/mysql.inc.php on line 271

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/g6589/alexandervandeursen.nl/HTML/serendipity5/include/db/mysql.inc.php on line 281

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/g6589/alexandervandeursen.nl/HTML/serendipity5/include/db/mysql.inc.php on line 281
serendipity error: unable to connect to database - exiting.


I have no clue on how to proceed and make my website to appear again. I would greatly appreciate any help.

Best,
Alexander
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: Cannot access admin after MySQL password change

Post by kleinerChemiker »

You have to edit your config file (should be something like serentipity_conf_local.php) and change the mysql password there.
Alexander_vD
Posts: 2
Joined: Mon Jan 14, 2013 8:51 pm

Re: Cannot access admin after MySQL password change

Post by Alexander_vD »

Thanks so much, all is fine now!
Post Reply