Navicat Client does not support authentication protocol requested by server

navicat 连接mysql 数据库出现错误:

Client does not support authentication protocol requested by server

解决方法,进入数据库所在服务执行命令:

alter user 'root'@'localhost' identified with mysql_native_password by 'wangshunyao'; # localhost:也可以是ip,相当于白名单,%:表示所有服务

  

猜你喜欢

转载自www.cnblogs.com/wangshunyao/p/11303909.html