阿里云 安装mysql

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