Unable to connect to database : saved admin password is...

You may display single questions and answers by clicking on the titles on below.
Q.374: I am trying to access my Plesk control panel but I get the following error : 0: /usr/local/psa/admin/auto_prepend/auth.php3:81 psaerror ( string "Unable to connect to database : saved admin password is incorrect ." ). Why and how can I fix this ?
This error typically means that the password for the admin username and the one for the database administrator are not the same so the system detects an incoherence and shows an error message.

In order to fix this you will have to follow these steps:

1. Log on to your dedicated server via SSH with your root username

2. Stop the MySQL process with the following command:

/etc/init.d/mysqld stop

3. Restart it without the user information:

/usr/bin/safe_mysqld --skip-grant-tables &

4. Now you should be able to log in without the root password:

mysql -u root

5. While you are at the mysql> prompt enter:

UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE User='admin'; (remember to include the ';' and that newpwd should be the admin password)

and then

FLUSH PRIVILEGES;

Packs :Server - linux, Private web server - virtuozzo linux

[url=http://faq.amenworld.com/index.php?op=search&page=&filter=&quid=374&/#q374]http://faq.amenworld.com/index.php?op=s ... 374&/#q374[/url]
Hanci.org sizlere daha iyi hizmet sunmak için çerezleri kullanıyor.
Hanci.org sitesini kullanarak çerez politikamızı kabul etmiş olacaksınız.
Detaylı bilgi almak için Gizlilik ve Çerez Politikası metnimizi inceleyebilirsiniz.