ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘123456’;
FLUSH PRIVILEGES;
1
2
navicat 连接 mysql 出现Client does not support authentication protocol requested by server
cmd登录,执行以下sql:
ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘123456’;
FLUSH PRIVILEGES;