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
- 目录
- W3School
- 工具
- 手册
- 实验
- 慕课
- Linux软件安装管理
- RPM包安装
- yum安装
- Linux系统管理
- ps_mem
- uname
- CentOS版本
- Linux服务管理
- Linux权限管理
- Linux 权限控制的基本原理
- Linux网络管理
- Linux计划任务
- Crontab
- 任务启停
- 综合用例
- 间隔任务
- 一次任务
- 跨天任务
- 输出重定向
- Crontab任务权限
- 多任务
- 表达式
- 视频教程
- 不知疲倦的时间表
- 发送邮件
- nginx
- nginx入门到实践
- Nginx配置Web服务器
- 查看进程
- 配置步骤
- nginx升级
- 脚本升级
- systemctl 命令完全指南
- Linux 软件安装目录
- 查看文件安装路径
- 书籍
- 《Linux Shell脚本攻略》
- 《循序渐进Linux》
- 课程
- Linux典型应用
- 网址
- 通信
- MySQL开启远程连接
- 防火墙
- 安全组规则
- Mailx
- 介绍
- 安装
- 配置
- 发送邮件
- 163_email
- 安全
- Linux中root账号和普通账号有什么区别,root账号为什么不能删除?
- chmod改变文件权限
- SELinux入门