错误号码1130:Host ‘XXX‘ is not allowed to connect to this MySQL server
错误号码1130:Host ‘XXX’ is not allowed to connect to this MySQL server
1、问题原因:
mysql未开启 mysql远程访问权限。
2、解决方式:
在 Linux上开启远程连接。
(1)登陆MySQL,授权MySQL远程连接权限
mysql> grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option;
(2)防火墙开启3306端口
开
原创
2020-12-05 23:14:18 ·
791 阅读 ·
0 评论