How to solve the 1251 error reported by navicat when connecting to MySQL

Report 1251, indicating that the MYSQL version is too low and there is a version difference error with Navicat.fe1951b0a0d645fc9a4a217fcfe13c02.jpg

 Enter cmd and enter in the command box one by one

mysql -uroot -pEnter
password
use mysql;
select user,host from user;    
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';    
// My MySQl password is 123456
FLUSH PRIVILEGES;

As shown in the picture

b41a5fd1633c42538934e62546936527.png

 

 

Reconnect to navicat and the connection is successful.6e657e12bdec4b56b6583e079c7a64c7.jpg
 

 This 95e00d399e4b49cebc93f1bc61640ad7.jpgarticle comes from

 

72dd7316d2324ea785e004cf3dd5ddd3.jpg

 

Supongo que te gusta

Origin blog.csdn.net/weixin_51825585/article/details/127637879
Recomendado
Clasificación