• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved Plesk (Access denied for user 'admin'@'localhost' (using password: YES))

trensco

New Pleskian
Hello,

I did a "stupid" mistake and changed the mysql admin password via phpmyadmin and now I cant login anymore into plesk. If I try to login into plesk i get the following message:

Code:
ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES)

EDIT: At the third attempt this solutions finaly worked: Unable to access Plesk: Access denied for user 'admin'@'localhost' (using password: YES)

Edit 2: But it dont worked. If I my remove skip-grant-tables record from my.cnf I get teh same error if I want login into plesk ... hm :/

Edit 3: Ok, now I got it. This Solution:

Unable to access Plesk: Access denied for user 'admin'@'localhost' (using password: YES)

worked. BUT there is a syntax error in step 10 for MySQL 5.7.6 and later.

Original:
Code:
mysql> UPDATE mysql.user SET authentication_string=PASSWORD('$AES-128-***) where User='admin';

Fixed:
Code:
mysql> UPDATE mysql.user SET authentication_string=PASSWORD('$AES-128-***') where User='admin';

There is a inverted comma missing beteween "***" and ")". For the most ppl its certainly not a big deal, cause they know mysql syntax well. But some ppl (inlcuding me) copy lines like this in the console and mysql wasn't throwing out a syntax error.

Greetings
 
Last edited:
Back
Top