mysql 远程不能登录
2021-08-11 本文已影响0人
醉于麦田
mysql登录提示ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded解决方法
Ubuntu16.04 ERROR 1698 (28000): Access denied for user 'root'@'localhost' 解决流程
查看select user,plugin from user
查看select user,plugin from user ,要改为 mysql_native_password 才能登录
操作如下:
updateusersetpassword=PASSWORD("mynewpassword")whereUser='root';
updateusersetplugin="mysql_native_password";
FLUSH PRIVILEGES;