SQL Error (1130): Host IP is not allowed to connect to this MySQL server
生活随笔
收集整理的這篇文章主要介紹了
SQL Error (1130): Host IP is not allowed to connect to this MySQL server
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?SQL Error (1130): Host '192.168.1.100' is not allowed to connect to this MySQL server
說明所連接的用戶帳號沒有遠程連接的權限,只能在本機(localhost)登錄。
需更改 mysql 數據庫里的 user表里的 host項
把localhost改稱%
首先按下面的步驟登錄Mysql服務器
登錄mysql需要切換到dos下的mysql的bin目錄,進行如下操作:
mysql>use mysql;
mysql>update user set host = '%'??where user ='root';
mysql>flush privileges;
mysql>select 'host','user' from user where user='root';
mysql>quit
OK。遠程連接成功!
總結
以上是生活随笔為你收集整理的SQL Error (1130): Host IP is not allowed to connect to this MySQL server的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MySQL性能优化点记录
- 下一篇: 大众4s店维修工实习要求