mysql 8.0

Today met with navicat for mysql error when connecting Baidu cloud MySQL: 1251-authentication Protocol Support Client does not requested by Server

Mysql query mysql server requires official turned out to be certified plug-in version is inconsistent with the client's cause, caching_sha2_password 8.0 is the default authentication plugin must be used to support this plug-client version.

By the following command to query a user corresponding plug-ins:

mysql> select user,plugin from mysql.user;

 

 

The solution: the root user plugin into mysql_native_password

Guess you like

Origin www.cnblogs.com/ppxtblogs/p/11470382.html