MySQL连接登陆数据库错误:Host 'localhost' is not allowed to connect to this MySQL server.解决方法
2018-03-24 16:25
941 查看
解决办法:
1.在my.ini配置文件中添加命令:skip-name-resolve
skip-grant-tables 2.保存之后,重启MySQL服务:net stop mysql;
1.在my.ini配置文件中添加命令:skip-name-resolve
skip-grant-tables 2.保存之后,重启MySQL服务:net stop mysql;
net start mysql;3.重新登陆/连接数据库:mysql -u root -p
相关文章推荐
- 两台电脑,不同网段,互相连接数据库Host is not allowed to connect to this MySQL server解决方法
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- 服务器连接错误Host 'XXX' is not allowed to connect to this MySQL server如何解决
- mysql不支持远程连接的解决办法(#1130 - Host 'localhost' is not allowed to connect to this MySQL server)
- idea 数据库连接错误 Host '192.168.8.239' is not allowed to connect to this MySQL server"
- mysql不支持远程连接的解决办法(#1130 - Host 'localhost' is not allowed to connect to this MySQL server)
- jdbc连接mysql时报message from server: "Host '**' is not allowed to connect to this MySQL server"错误解决
- mysql远程连接 Host * is not allowed to connect to this MySQL server问题解决方法
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- mysql不支持远程连接的解决办法(#1130 - Host 'localhost' is not allowed to connect to this MySQL server)
- mysql远程连接报错: Host * is not allowed to connect to this MySQL server,解决方法
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- 怎么解决mysql不允许远程连接的错误1130 - Host'xxx.xxx.xxx.xxx' is not allowed to connect to this MySQL server“
- mysql错误解决:Host 'localhost' is not allowed to connect to this MySQL server
- 解决服务器连接错误Host ‘XXX’ is not allowed to connect to this MySQL server
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server,MySQL不允许从远程访问的方法
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server,MySQL不允许从远程访问的方法