• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Resolved native plesk mysql password

Franco

Regular Pleskian
Hello,
I intended to upgrade my Windows Onyx installation to Obsidian, but the the procedure stopped because the MySQL password is wrong (or does not match something?).
I followed this procedure ERROR PleskMainDBException Access denied for user 'admin'@'localhost' (using password: YES)

but I keep getting this error:

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

I tried several times to set the admin password, which is done successfully, but I am still locked out. I suppose plesk is comparing it with something stored somewhere, but where? What am I doing wrong, please?

In Tools&Settings I have no MySQL database server as I am only running MSSQL databases.

Can you please help.

Best regards
 
I am still stuck with this problem. What if I try and upgrade to Obsidian with skip-grant-tables and see if the prblem goes away afterwards? Or would I make the matter worse?
 
If numerous related KB articles and similar cases on this forum do not help you, I advise you to contact Plesk technical support team.
 
FYI, in the end Plesk Support solved the issue for me and here is what they reported:

"
The issues were resolved.
I reset passwords for PleskSQLServer and MySQL56 as described in the following article - ERROR PleskMainDBException Access denied for user 'admin'@'localhost' (using password: YES)
The issue with MySQL 5.6 persisted, as MySQL did not accept the new password for an unknown reason:

mysql> update mysql.user set
mysql> authentication_string=password('***********') where user='admin';
Query OK, 1 row affected (0.05 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> exit;
Bye

((removed skip-grant-tables, restarted)) C:\Program Files\MySQL\MySQL Server 5.6\bin>mysql.exe -P3306 -uadmin -p Enter password: ************ ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)

Since there were no databases used by websites, I updated MySQL server to MariaDB 10.3.
That resolved the issue and database server is accessible now.
Please check it on your side and let me know if further assistance is required.
Sincerely,"

Not sure I fully understand it, though.
 
Back
Top