二、检查MySQL用户权限 如果MySQL服务正在运行,那么我们需要检查MySQL用户的权限。在MySQL中,每个用户都有一组权限,用于控制用户对数据库的访问权限。如果用户缺少必要的权限,就会导致出现1130错误。我们可以通过以下步骤检查MySQL用户权限:1. 打开MySQL客户端,输入以下命令登录MySQL服务器:mysql -u root ...
错误概述为:ERROR 1130: Host ‘xxx.xxx.xxx.xxx’ is not allowed to connect to this MySQL server 主要原因是,系统数据库mysql中user表中的host设置为localhost,只允许使用localhost(127.0.0.1)进行连接。解决方案如下:1. **简单法**:首先使用localhost连接mysql,执行以下命令(IP地址为远...
看解决方法吧ERROR 1130: Host '192.168.1.3' is not allowed to connect to thisMySQL server解决方法:1。改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改"mysql" 数据库里的 "user" 表里的 "host"项,从"localhost"改称"%"...
可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑登入MySQL后,更改"MySQL"数据库"user"表里的"host"项,将"localhost"改成"%"mysql -u root -pvmwaremysql>usemysql;mysql>update user set host = '%' where user ='root';mysql>select host, user from use...
或者你把localhost改成127.0.0.1试试看。