SQL Error (1130): Host IP is not allowed to connect to this MySQL server
通過HeidiSQL連線MYSQL資料庫報錯:
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。遠端連線成功!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8183550/viewspace-680756/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL-1130-host ... is not allowed to connect to this MySql serverMySqlServer
- 解決mysql Navicat 出錯:1130-host . is not allowed to connect to this MySql server,MySqlServer
- Host 'localhost' is not allowed to connect to this MySQL serverlocalhostMySqlServer
- ERROR 1130: Host ***.***.***.*** is not allowed to connect to this MySQL serverERROR 1062 (23000):ErrorMySqlServer
- 解決MySql報錯:1130 - Host ‘xxx‘ is not allowed to connect to this MySQL server的方法MySqlServer
- mysql遠端連線 Host * is not allowed to connect to this MySQL serverMySqlServer
- Host 'xxx' is not allowed to connect to this MySQL server.MySqlServer
- 報錯:1130-host ... is not allowed to connect to this MySql server 開放mysql遠端連線 不使用localhostMySqlServerlocalhost
- Host 'xxx' is not allowed to connect to this MySQL server 解決方法MySqlServer
- “Host ‘xxxx‘ is not allowed to connect to this MySQL server“MySqlServer
- Host is not allowed to connect to this MySQL server 錯誤的處理方法MySqlServer
- Navicat連線centos裡mysql報錯Host is not allowed to connect to this MySQL serverCentOSMySqlServer
- 關於對連線資料庫時出現1130-host “**” is not allowed to connect to this MySql/mariadb server 的錯誤解決方法資料庫MySqlServer
- navicat無法連線遠端的mysql--Host ‘xx.xx.xx.xx‘ is not allowed to connect to this MySQL server“MySqlServer
- 上手MySQL之解決問題:not allowed to connect to this MySQL serverMySqlServer
- 虛擬機器NAT模式下連線mysql報錯:Host '192.168.30.1' is not allowed to connect to this MySQL server虛擬機模式MySqlServer
- mysql error 2005 - Unknown MySQL server host 'localhost'(11001)MySqlErrorServerlocalhost
- Unable to connect to SQL Server ExpressSQLServerExpress
- mysql 遠端連結錯誤 ERROR 1130MySqlError
- 連線mysql時提示is not allowed to connect不允許連線MySql
- psql: error: could not connect to server: No such file or directorySQLErrorServer
- Question : ERROR 1130 (00000)Error
- mysqldump: Got error: 2002: Can't connect to local MySQL server through.....MySqlGoErrorServer
- SQL SERVER – Fix: Error Msg 128 The name is not permitted in this context. Only constants, expressions, or variables allowed herSQLServerErrorMITContextExpress
- MySQL報錯'ERROR 2002 (HY000): Can't connect to local MySQL server through'MySqlErrorServer
- ERROR 2002 (HY000): Can't connect server socket /tmp/mysql.sockErrorServerMySql
- MySQL遠端連線ERROR 2003 (HY000) Cant connect to MySQL server on (10060)MySqlErrorServer
- ERROR 2003 (HY000)Can't connect to MySQL server on '192.168.8.247' (113)ErrorMySqlServer
- ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)ErrorMySqlServerlocalhost
- Microsoft SQL Server, Error: 15128 ()ROSSQLServerError
- OGG-01224 TCP/IP error 113 (No route to host)TCPError
- mysql can't connect error about privilege----not root userMySqlError
- mysql 1130 問題MySql
- ERROR 2002 (HY000): Cant connect to local MySQL server through socket的解決方法ErrorMySqlServer
- Xtrabackup備份報錯Failed to connect to MySQL serverAIMySqlServer
- Can't Connect to MySQL Server on IP Address (10061) 錯誤的解決方案MySqlServer
- MySQL連線提示Can't connect to local MySQL server through socketMySqlServer
- Can't connect to local MySQL server through socket '/tmp/mysql.sock'MySqlServer