100字范文,内容丰富有趣,生活中的好帮手!
100字范文 > navicat连接mysql报错解决(Host “IP“ is not allowed to connet to this mysql server)

navicat连接mysql报错解决(Host “IP“ is not allowed to connet to this mysql server)

时间:2021-02-08 23:05:19

相关推荐

navicat连接mysql报错解决(Host  “IP“ is not allowed to connet to this mysql server)

可能是mysql没有开启远程连接权限的问题

登陆mysql,执行下面操作

mysql -uroot -puse mysql;update user set host = '%' where user = 'root'; # 这句执行完可能会报错,不用管它。flush privileges;

然后就可以通过navicat进行登陆了。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。