一、首先要mysql授权
mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '你的mysql数据库密码' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec) mysql>FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
二、Navicat/Sequel Pro远程连接阿里云ECS数据库
再次测试连接OK