Gönderen Konu: Unable to connect to database : saved admin password is...  (Okunma sayısı 4382 defa)

Çevrimdışı Hamdi

  • Yazar
  • ***
  • İleti: 297
  • Karma: 0
    • http://www.ihya.biz
Unable to connect to database : saved admin password is...
« : Kasım 20, 2006, 10:15:48 ÖÖ »
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

http://faq.amenworld.com/index.php?op=s ... 374&/#q374
« Son Düzenleme: Ocak 01, 1970, 01:00:00 ÖÖ Gönderen: Hamdi »
emeğini veren düdüğünü çalar