300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server

ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server

时间:2018-07-27 22:44:04

相关推荐

ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server

ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server

远程连接Mysql服务器的数据库,错误代码是1130,

猜想是无法给远程连接的用户权限问题。

这样子操作mysql库,即可解决。

在本机登入mysql后,更改 “mysql” 数据库里的 “user” 表里的 “host” 项,从”localhost”改称’%'即可

mysql -u root -p mysql;use mysql; mysql;select 'host' from user where user='root'; mysql;update user set host = '%' where user ='root'; mysql;flush privileges; mysql;select 'host' from user where user='root'; service mysql restart

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