MySql - SQL Error (1130): Host IP is not allowed to connect to this MySQL server
来源:互联网 发布:知乎回答不了问题 编辑:程序博客网 时间:2024/05/21 09:50
通过Navicat连接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。远程连接成功!
0 1
- MySql - SQL Error (1130): Host IP is not allowed to connect to this MySQL server
- MySql - 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 IP is not allowed to connect to this MySQL server
- SQL Error (1130): Host IP is not allowed to connect to this MySQL server
- mysql不允许其他ip连接 MySql - 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
- SQL Error (1130): Host '192.168.1.100' is not allowed to connect to this MySQL server
- SQL Error (1130): Host '192.168.1.126' 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
- SQL Error (1130): Host '192.168.1.126' is not allowed to connect to this MySQL server
- [MySQL]MySQL Error 1130 Host 'localhost' is not allowed to connect to this MySQL server
- Mysql 远程连接错误:1130-host IP is not allowed to connect to this MySql server
- MySQL Error 1130 Host 'localhost' is not allowed to connect to this MySQL server
- MySQL Error 1130 Host 'localhost' is not allowed to connect to this MySQL server
- mysql:ERROR 1130: Host '192.168.0.102' is not allowed to connect to this MySQL server
- MySQL Error 1130 Host 'localhost' is not allowed to connect to this MySQL server
- MySQL Error 1130 Host 'localhost' is not allowed to connect to this MySQL server
- 《招聘一个靠谱的iOS》面试题参考答案
- MFC类组织结构图
- 【转】关于HFSS软件的使用
- Ignatius and the Princess III
- 【codevs】p1220 数字三角形
- MySql - SQL Error (1130): Host IP is not allowed to connect to this MySQL server
- 编程工具
- 企业招聘面试十大之怪现状
- GdiplusFlat(7)双缓冲绘图和DC透明复制
- 局域网组建的互联设备详解
- Gym - 100703G-G-Game of numbers-暴力
- Tomcat 生产服务器性能优化
- HTML5的画布:Stroke(笔触)和Fill(填充)
- 【暑期基础2】U HDU 2046 骨牌铺方格 (递推)