開啓 Mysql 遠程鏈接權限


 使用 root 登陸後 --

 // identified by 後面指定遠程鏈接密碼

 grant all privileges on *.* to 'root'@'192.168.0.1' identified by '12345678';

 flush privileges;

 exit;

 (檢查 3306 端口是否開放)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章