Zabbix报错 connect error: Authentication plugin 'caching_sha2_password' cannot be loaded

1、connect error: Authentication plugin 'caching_sha2_password' cannot be loaded

MySql 8.0.11  or later  for a new authentication plugin (caching_sha2_password), the original authentication plug-in is (mysql_native_password). The client tool Navicat Premium12 can not find a new authentication plugin (caching_sha2_password), this, we will be reduced to mysql_native_password mysql password encryption rule used by the user, can be successful landing.

 

 

 

[root@zabbix html]#  systemctl restart mysqld.service 

After the restart the service can connect to the database.

 

Guess you like

Origin www.cnblogs.com/zwj-linux/p/11687164.html