mysql登录提示ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded解决方法
1 /etc/init.d/mysql stop
234 vim /etc/my.cnf 添加 skip-grant-tables 5 mysql -u root
6use mysql;
7 update user set password=PASSWORD("mynewpassword") where User='root';
8 update user set plugin="mysql_native_password";