1. 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
Posted on 2017-03-01 14:16 zkx4213 阅读(122) 评论(0) 编辑 收藏 举报在服务器上打开mysql命令行,依次执行下面这两句:
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;
mysql flush privileges;