mysql -u root -p (mysql登录密码)
use mysql
update user set host =’%'where user =‘root’ and host =‘localhost’;
flush privileges;
远程连接mysql报错Host * is not allowed to connect to this MySQL server 解决方法
最新推荐文章于 2024-04-03 01:22:17 发布
mysql -u root -p (mysql登录密码)
use mysql
update user set host =’%'where user =‘root’ and host =‘localhost’;
flush privileges;