使用root用户远程访问mysql报错:Access denied for user (using password:YES)
mysql -u root -p
mysql> use mysql;
mysql> update user set password=password('你的密码') where user='root' and host='%';
mysql> flush privileges;
quit;
service mysqld restart
原创
2020-06-18 15:07:17 ·
415 阅读 ·
0 评论