Product:
Search Type:

Plesk upgrade fails with the error: "Access denied for user 'admin'@'localhost' ".

Article ID: 1657 
Last Review: Feb,08 2007
APPLIES TO:
  • Plesk 8.x for Linux/Unix

RESOLUTION

SYMPTOMS:

Plesk upgrade or installation fails with the error in upgrade log:
 
Access denied for user 'admin'@'localhost' (using password: YES)\n")

RESOLUTION:

Make sure that there is no /root/.my.cnf file with MySQL password. Plesk uses environment variable to pass the password to MySQL server, but the .my.cnf file has greater priority and MySQL uses the password from the file. If it does not match, restoration fails.

Also, check that you are able to connect to MySQL from the command line with:

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

if you are not, see the article 346.

 

Keywords: database restore dump fail psabackup psarestore pmm

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields