Navicat MySQL link displays 1251 error

1. Log mysql

2. Enter the ALTER USER 'root' @ 'localhost' IDENTIFIED WITH mysql_native_password BY 'mysql password'; Enter a password do not leak semicolon mysql password is set when mounting the rear mysql

3. Enter FLUSH PRIVILEGES; Enter 

4. Start again Navicat successfully connect to the database.

2. Enter the ALTER USER 'root' @ 'localhost' IDENTIFIED WITH mysql_native_password BY 'mysql password'; Enter a password do not leak semicolon mysql password is set when mounting the rear mysql

3. Enter FLUSH PRIVILEGES; Enter 

4. Start again Navicat successfully connect to the database.

Guess you like

Origin www.cnblogs.com/kilig/p/12208085.html