ERROR 1130 (HY000): Host 'localhost' is not allowed to connect to this MySQL server D:\Wamp\mysql-\bin>mysql.exe -uroot -p Enter password: ERROR (HY000): Host 'localhost' is not allowed to connect to this MySQL server 此处是root账户没有本地数据库的访问权限,所以无法连接数据库,…
异常 在测试环境新搭建的MySQL服务端,启动后登陆MySQL如下异常: [root@test177 ~]# mysql -u root -po2jSLWw0ni -h test177 mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 1130 (HY000): Host 'test177' is not allowed to connect to this MySQL s…
http://www.2cto.com/database/201211/169504.html ERROR 1130 (HY000):Host'localhost'解决方法 ERROR 1130 (HY000): Host 'localhost' is not allowed to connect to this MySQL server www.2cto.com 出现原因: mysql只有一个root用户,修改root密码后选了MD5,提交后,重新 登陆出现“Host 'l…
远程连接mysql时包如下错误: 1130 -host 'localhost' is not allowed to connect to this mysql server 解决办法 本地用root账号登陆mysql,修改mysql数据库的user表将host字段改为%.命令如下 mysql -uroot –p123 mysql>use mysql; mysql>update user set host = '%' where user = 'root'; OK搞定!…
错误提示:1130 -host 'localhost' is not allowed to connect to this mysql server 原因:手贱把mysql数据库系统中mysql数据库给删了 解决办法: 首先关闭mysql服务, 其次打开一个终端输入:mysqld –skip-grant-tables 最后再打开一个终端输入:mysqlcheck –check-upgrade –all-databases –auto-repair 之后就可以连上数据库了. 注意: 该操作会把存储…
今天在linux机器上装了一个mysql,想通过sqlyog远程连接过去,发生了:错误号码1130:Host 'XXX' is not allowed to connect to this MySQL server 问题原因:mysql未开启mysql远程访问权限. 解决办法: 在linux机器上登录mysql,修改mysql的user表. (1)查询需要修改的记录 select host, user, password from user where host='localhost' and…
修改mysql的root密码后,出现Host 'localhost' is not allowed to connect to this MySQL server 错误. 解决办法: C:\Program Files\MySQL\MySQL Server 5.5\my.ini 在[mysqld]下加下面两行, skip-name-resolveskip-grant-tables 重启mysql的windows服务…
MySql数据库:Host 'localhost' is not allowed to connect to this MySQL server 修改mysql的root密码后,出现Host 'localhost' is not allowed to connect to this MySQL server 错误. 解决办法: C:\Program Files\MySQL\MySQL Server 5.5\my.ini 在[mysqld]下加下面两行, skip-name-resolve ski…
我猜想是可能是连接的用户权限问题.结果这样子操作mysql库,可以解决此问题.在本机登入mysql后,更改 “mysql” 数据库里的 “user” 表里的 “host” 项,从”localhost”改称'%'..mysql -u root -pmysql>use mysql;mysql>select 'host' from user where user='root';mysql>update user set host = '%' where user ='root';mysql&g…