阿里雲 安裝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
相關文章
相關標籤/搜索