• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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