• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Plesk is not operational MySQL password changed

Pedro Reinoso

Basic Pleskian
Hello,

I was creating users in MySQL server, as i dont know the "admin" password i tried update the password.

Onces I updated i got this error message:

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

Additionally, an exception has occurred while trying to report this error: Zend_Exception
No entry is registered for key 'translate' (Abstract.php:144)

Search for related Knowledge Base articles

ERROR: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES)' in /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php:129 Stack trace: #0 /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('mysql:dbname=ps...', 'admin', '$AES-128-CBC$Wu...', Array) #1 /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /usr/local/psa/admin/externals/Zend/Db/Adapter/Abstract.php(460): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select param, v...', Array) #4 /usr/local/psa/admin/plib/Db/Adapter/Pdo/Mysql.php(30): Zend_Db_Adapter_Pdo_Abstract->query('select param, v...', Array) #5 /usr/local/psa/admin/plib/db.php(36): Db_Adapter_Pdo_Mysql->query('select param, v...') #6 /usr/local/psa/admin/plib/db.php(212): db_query('select param, v...', false) #7 /us (Abstract.php:144)

Search for related Knowledge Base articles

I was performing some of the KB solutions but could not be able to fix it, i create a ticket because maybe you have faced this situation.

Hope for your help.
 
Hi Pedro Reinoso,

Onces I updated i got this error message:
HOW did you "updated" the password, pls.?

I was performing some of the KB solutions but could not be able to fix it
Could you pls. NAME and link the KB - articles, that you followed, so that people willing to help you don't recommend links, which you already tried resolutions from?

Pls. don't forget to add at least the output of the command:
Code:
plesk version



The Plesk documentation has been improved for Plesk Onyx... did you have a look at the official documentation?

 
Hi @UFHH01,

I tested without solution, below:
* KB Plesk: Impossibile accedere all'interfaccia web di Parallels Plesk Panel
* Unable to access Plesk: Access denied for user 'admin'@'localhost' (using password: YES)


Thanks for taking time in help me, I already have fixed my problem by my own, i'm going to write my solution just in case someone else have same problem in the future can save time doing this.


SOLUTION:
Establish a SSH session

# mysql -uadmin -p

It's going to ask your password, onces connected into database:

MariaDB [mysql]> use mysql;
MariaDB [mysql]> update user set password=PASSWORD('$AES-128-___PASSWORD__') where User='admin';
MariaDB [(none)]> update mysql.user set password=OLD_PASSWORD('$AES-128-___PASSWORD__') where User='admin';
MariaDB [mysql]> SET PASSWORD FOR 'admin'@'localhost' = PASSWORD('$AES-128-___PASSWORD__');
MariaDB [mysql]> exit

To find your new password locate:
# cat /etc/psa/.psa.shadow

Replace the result by:
$AES-128-___PASSWORD__

# mysql -uadmin -p`cat /etc/psa/.psa.shadow`
if you could be able to connect with command above we are fine

# service psa restart

it worked for me.
 
Last edited:
Back
Top