Navicat连接MySQL8出现1251错误

安装MySQL8后用navicat连接时出现1251错误

解决办法

管理员打开cmd窗口

mysql     -uroot    -p登录mysql

alter user root@localhost identified by'newpassword' password

alter user root@localhost identified with mysql_native_password by 'newpassword'

flush privileges;

猜你喜欢

转载自www.cnblogs.com/qsmyjz/p/11984946.html