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相关推荐
- ERROR 1130: Host 'A'is not allowed to connect to this MySQL server
用Navicat连接远程MYSQL,提示如下错误,我以为是自己的防火墙问题,但是关了,依然不行. 我认为这段英文,有点误导,让人感觉是自己这边出了问题. 看解决方法吧 ERROR 1130: Host ...
- 错误号码1130 Host ‘ip‘ is not allowed to connect to this MySQL server
今天赶上了618,第一次使用阿里云的服务器,在阿里云服务器上安装了 MySQL8,想通过本地的 SQLyog 远程连接阿里云服务器上的 MySQL 在服务器上3306端口开启的情况下,遇到下面的问题 ...
- 1130 - Host ‘win7' is not allowed to connect to this mysql server
远程连接自己或别人的mysql时,弹出了提示:"1130 - Host 'win7' is not allowed to connect to this mysql server" ...
- mysql 1130 localhost_解决1130 Host 'localhost' is not allowed to connect to this MySQL server
WAMP 64bit 安装好后,连接数据库,提示 #1130 Host 'localhost' is not allowed to connect to this MySQL server 1.首先停 ...
- navicate连接mysql问题(#1130 - Host 'localhost' is not allowed to connect to this MySQL server)
1,修改host #1130 - Host 'localhost' is not allowed to connect to this MySQL server 说明所用账户没有连接权限,需更改 my ...
- #1130 - Host 'localhost' is not allowed to connect to this MySQL server
解决办法: 1. 改表法. 可能是你的帐号不容许从长途登岸,只能在localhost.这个时辰只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 ...
- gorm MySql中连接出现 1130 Host ‘LAPTOP-AKP8DH1F’ is not allowed to connect to this MySQL server 的解决方法
依次执行如下命令. use mysql; select host from user where user='root'; update user set host='%' where user='r ...
- 解决MySQL出现不允许连接错误,出现有如,ERROR 1130:Host 'localhost' is not allowed to connect to this MySQL server
自己电脑MySQL不知道怎么就突然不支持本地登录了,登录中输入 mysql -uroot -p密码 就出现:ERROR 1130 : Host 'localhost' is not allowed t ...
- mysql远程连接 host_MySQL远程连接:Host 'x' is not allowed to connect to this MySQL server
MySql数据库:Host 'localhost' is not allowed to connect to this MySQL server 修改mysql的roo ...
最新文章
- C# async await 学习笔记2
- MySQL高级-MySQL查询缓存优化
- C++11多线程实现银行存取款案例
- Redis(二)原理以及主从复制的实现
- FreeSwitch通过远程接口验证用户登录
- 多个python脚本同时执行_用shell同时启动多个python脚本
- 第四课、Hello QT------------------狄泰软件学院
- 交互软件Axure—高保真原型
- ca盘显示无证书_ca证书提示没有正确的安装驱动程序
- 计算机化学试题,08计算机化学试卷yuanj.doc
- C#选择文件的对话框和选择文件夹的对话框
- vue项目中引用阿里云图标库
- 来,和人工智能对对联过大年!
- android studio闹钟小程序,闹钟应用程序Android Studio
- 电脑垃圾太多?这几个清理电脑的软件来看看吗?
- 关于win10无线网卡不可用,网络适配器出现黄色感叹号问题的修复方式
- div 空隙的解决办法
- 硬件开发笔记(三):硬件开发基本流程,制作一个USB转RS232的模块(二):设计原理图库
- pv uv vv cv 的区别
- 基于python中jieba包的中文分词中详细使用(一)