1、#登陸資料庫
mysql -uroot -pmysql
2、#選擇mysql資料庫
use mysql;
3、#檢視mysql資料庫中的user表中的host值(可以進行訪問的ip)
select host from user where user='root';
4、#以設定萬用字元%的內容增加ip
update user set host='%' where user='root';
5、#重新整理許可權
flush privilieges;
6、#再次檢視已經修改,就可以進行在windows下訪問ubuntu裡面的mysql資料庫
select host from user where user='root';
224 mysql 設定遠端連線許可權
mysql設定遠端賬戶登陸總結 1.error 2003 hy00 1 2.error 1045 28000 access denied for user test x.x.x.x using password no 1 3.取回root密碼並設定遠端登入 2 4.rror 1062 23000 d...
mysql 設定許可權及開啟遠端連線
1.新增使用者 grant all privileges on to myuser identified by mypassword with grant option 語句描述 給所有ip並且使用者名為myuser的使用者分配所有資料庫.所有表的操作許可權,用mypassword這個密碼 代表所有...
mysql遠端連線設定 MySQL遠端連線設定
這只是乙個簡單mysql設定。但很多圖簡單,卻忽略了安全性。所以對設定中的細節和含義需要弄到清清楚楚才行。這只是乙個簡單mysql設定。但很多圖簡單,卻忽略了安全性。所以對設定中的細節和含義需要弄到清清楚楚才行。mysql遠端連線的設定問題 下面是步驟 1 登陸本地的mysql server mys...