美文网首页
mysql 远程不能登录

mysql 远程不能登录

作者: 醉于麦田 | 来源:发表于2021-08-11 16:16 被阅读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;

相关文章

网友评论

      本文标题:mysql 远程不能登录

      本文链接:https://www.haomeiwen.com/subject/brecbltx.html