时间:2021-07-01 10:21:17 帮助过:29人阅读
select host from user where user=‘root‘;
修改帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入MySQL后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"localhost"改称"%"
update user set host = ‘%‘ where user =‘root‘;
刷新配置。
flush privileges;
最后如图。链接成功。
转载自:https://blog.csdn.net/iiiiiilikangshuai/article/details/100905996
is not allowed to connect to this mysql server
标签:ofo numbers art views 阿里云 roc lib 刷新 idt