阿里云mysql远程连不上

1. 服务器规则添加 3306端口

2. mysql localhost 改为%    

mysql> select user, host from mysql.user;

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

posted @ 2018-03-20 17:50  zhaocundang  阅读(260)  评论(0编辑  收藏  举报