Aliyun - ECS配置
打开MySQL远程访问权限
1. 连接mysql数据库:
mysql -uroot -p
2. 更改远程访问权限
use mysql;
update user set host = '%' where user = 'root';
selet host, user from user;
mysql -uroot -p
use mysql;
update user set host = '%' where user = 'root';
selet host, user from user;