1、安装mysql apt-get install mysql-server-5.6
2、修改可连接地址 vi /etc/mysql/mysql.conf.d/mysqld.cnf
阿里云 安装mysql
3、设置数据库密码 mysql -uroot -p密码
4、添加远程连接数用户
grant all privileges on . to ‘root’@’%’ identified by ‘密码’ with grant option;

6、云esc中添加安全组
阿里云 安装mysql

相关文章: