1.添加一个远程访问账号admin
mysql> use mysql;
mysql> GRANT ALL ON *.* TO 账户@'%' IDENTIFIED BY '密码' WITH GRANT OPTION;
2.阿里云安全组添加端口
3.https://www.aliyun.com/jiaocheng/136847.html修改mysqld.cnf重启mysql
4.连接
1.添加一个远程访问账号admin
mysql> use mysql;
mysql> GRANT ALL ON *.* TO 账户@'%' IDENTIFIED BY '密码' WITH GRANT OPTION;
2.阿里云安全组添加端口
3.https://www.aliyun.com/jiaocheng/136847.html修改mysqld.cnf重启mysql
4.连接