Page 1 of 1

Cannot access admin after MySQL password change

Posted: Mon Jan 14, 2013 8:54 pm
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

Re: Cannot access admin after MySQL password change

Posted: Mon Jan 14, 2013 11:00 pm
by kleinerChemiker
You have to edit your config file (should be something like serentipity_conf_local.php) and change the mysql password there.

Re: Cannot access admin after MySQL password change

Posted: Mon Jan 14, 2013 11:16 pm
by Alexander_vD
Thanks so much, all is fine now!