ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
0. 之前 MySQL 的3306端口无法通过IP地址远程访问: ~~~ [root@izbp192gcqz9hrnj21lewuz ~]# mysql -uroot -p**** -h47.96.121.127 -P 3306 Warning: Using a password on the command line interface can be insecure. ERROR 2003 (HY000): Can't connect to MySQL server on '47.96.121.127' (110) ~~~ 1. 网络与安全-》安全组 ![](https://box.kancloud.cn/8e002067a7e8ca1cff0f24d2dc937a13_1920x998.png) 2. 安全组实例 ![](https://box.kancloud.cn/4489b2576e1a9b16d654f6e88b28cc6b_1915x493.png) 3. 添加入口规则 ![](https://box.kancloud.cn/01f4534560d16c89243163d19702933f_1916x782.png) 4. MySQL 3306端口通过IP地址实现正常访问 ~~~ [root@izbp192gcqz9hrnj21lewuz ~]# mysql -uroot -**** -h47.96.121.127 -P 3306 Warning: Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.6.36 Source distribution Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> ~~~ * * * * * https://help.aliyun.com/document_detail/25471.html