• 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

problem after update to 12.x

Havrosd

New Pleskian
hello,
I have a problem after the update can not log into Plesk.
After entering https://domain:8443 pops up this error
Zend_Db_Adapter_Exception- SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (Abstract.php-144)

sorry for my English
 
Make sure that my.cnf hasn't specified old_password standard. After that run:

/usr/local/psa/bin/admin --show-password

to retrieve new password. Then you need to reset the password with the following command:

/usr/local/psa/bin/init_conf -u -passwd <new_pass> -encrypted-password
 
my.cnf
[mysqld]
local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

/usr/local/psa/bin/admin --show-password
PHP Notice: Undefined index: PARAMETERS; File: /usr/local/psa/admin/plib/CommonPanel/Exception.php, Line: 266

Error occured while sending feedback. HTTP code returned: 502
SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
 
Same problem with old_passwords = 1 in my.cnf, I deletet this line and restarted the server.

# /usr/local/psa/bin/admin --show-password
SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

# /usr/local/psa/bin/init_conf -u -passwd xxyyzz -encrypted-password
SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

Can I ever use Plesk on this server? I even can't use mysql as root.
 
Back
Top