您的位置:首页 > 产品设计 > UI/UE

sequel pro无法连接mysql服务器

2017-02-16 11:28 489 查看
1. 添加用户

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'your_passwd' WITH GRANT OPTION;
FLUSH PRIVILEGES;


2. iptables里删除DROP 3306端口的规则

iptables -L -n --line-numbers
// 我的DROP 3306规则在第5行
iptables -D INPUT 5


参考资料:

报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: