alter user 'root'@'localhost' identified with mysql_native_password by '123456';
root–用户名
localhost –链接
123456–密码
mysql_native_password–旧的密码验证机制
重新连接 解决!
alter user 'root'@'localhost' identified with mysql_native_password by '123456';
root–用户名
localhost –链接
123456–密码
mysql_native_password–旧的密码验证机制
重新连接 解决!