• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Access denied for user 'admin'@'localhost'

Pepito

New Pleskian
I installed Plesk 9.2 and each time I try to start it I have the below error message. I tried several things, including http://kb.odin.com/article_16_346_en.html

Can somebody help? I am on CentOS 5. Thanks.

[root@kinesante psa]# /etc/init.d/psa restart
PSA is down, performing full restart.
Starting xinetd service... done
Starting named service... failed
Starting mysqld service... failed
Starting postgresql service... not installed
Starting psa-spamassassin service... not installed
Plesk: Starting Mail Server... already started
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
Starting mail handlers tmpfs storage
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
Starting Plesk... done
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
 
If you can't login to Plesk database with
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa

it means that you have incorrect password for admin user in mysql database. In other words password in /etc/psa/.psa.shadow and password for admin user in mysql table are different. In this case you should reset password in mysql and you can find solution in the mentioned KB article or with googling.
 
If you can't login to Plesk database with


it means that you have incorrect password for admin user in mysql database. In other words password in /etc/psa/.psa.shadow and password for admin user in mysql table are different. In this case you should reset password in mysql and you can find solution in the mentioned KB article or with googling.

You forgot to tell what to do if login through
mysql-uadmin-p `cat / etc / psa / .psa.shadow`-D psa
passes successfully.
 
Back
Top