linux下設置mysql遠程連接;

1.阿里雲開放3306端口; 2.執行: 使用 mysql 命令爲 root 用戶授權 mysql 遠程連接服務 mysql> grant all privileges on . to ‘root’@’%’ identified by ‘root’ with grant option; 其他: 查看臨時密碼: grep ‘A temporary password’ /var/log/mysqld.
相關文章
相關標籤/搜索