|
Fesih
|
 |
« : Haziran 22, 2007, 09:24:01 ÖS » |
|
ou 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 thefollowing error : 0: /usr/local/psa/admin/auto_prepend/auth.php3:81psaerror ( string "Unable to connect to database : saved admin passwordis incorrect ." ). Why and how can I fix this ? This error typically means that the password for the adminusername and the one for the database administrator are not the same sothe 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') WHEREUser='admin'; (remember to include the ';' and that newpwd should bethe admin password)
and then
FLUSH PRIVILEGES;
Packs :Server - linux, Private web server - virtuozzo linux
|