使用navicat连接mysql报错如下:
解决办法:
1.登陆mysql服务器
mysql -uuserName -Pport -p
2.执行alter命令,修改用户信息
alter user 'userName'@'localhost' identified with mysql_native_password by 'userPassword';
3.现在就可以使用navicat连接了,如果不行执行下面命令后再试
FLUSH PRIVILEGES;
使用navicat连接mysql报错如下:
解决办法:
1.登陆mysql服务器
mysql -uuserName -Pport -p
2.执行alter命令,修改用户信息
alter user 'userName'@'localhost' identified with mysql_native_password by 'userPassword';
3.现在就可以使用navicat连接了,如果不行执行下面命令后再试
FLUSH PRIVILEGES;