• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Resolved Error after update MariaDb 10.5 to 10.6 : impossible to remove the skip-grant-tables

valko

New Pleskian
I updated MariaDB from 10.5 to 10.6, the update was successful, but when I restarted Plesk I got the error
"ERROR: 500 Plesk\Exception\Database Zend_Db_Adapter_Exception: SQLSTATE[HY000] [1045] Access denied for user ‘admin’@‘localhost’ (using password: YES)."

And all my applications running on the server had a database connection error.

I corrected the error using the procedure : https://support.plesk.com/hc/en-us/...d-for-user-admin-localhost-using-password-YES,
I followed the procedure to the end, but steps 5 to 10 do not work, when I remove the skip-grant-tables line from the my.cnf file (step 4).

and i return to my error ERROR: 500 Plesk\Exception\Database In order to get my server back online because applications are running

I leave the skip-grant-tables in my.cnf file, now when I want to create a database I get this message:
Error: Failed to connect to the database server. : SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement

Can you give me a simplified procedure that matches my characteristics?

linux distribution : Debian 11
MariaDB version : 10.6
Mysql : 15.xx

thanks
 
If you have a "bind-address" line in your /etc/my.cnf file, remove it and restart the database server.
 
hi,
Thank you, it worked for me, I deleted the "bind-address" line in your /etc/my.cnf file and I started the procedure again from step 5.
 
Back
Top