Navicat连接MySQL 出错:1130 host is not allowed to connect to this MySql server
2017-03-09 20:27
651 查看
初次安装完MySQL后,用Navicat等工具连接MySQL时会报错10038错误 2003 - Can’t connet to MySQL server on ‘localhost’ (10038) 。其实是因为MySQL权限问题,默认不允许远程连接,修改权限即可。
//登录mysql
mysql>GRANT ALL PRIVILEGES ON . TO ‘root’@’%’ WITH GRANT OPTION;
//赋予任何主机访问数据的权限
mysql>FLUSH PRIVILEGES;
//修改生效
mysql>EXIT
//退出
步骤如下:
mysql -uroot -proot//登录mysql
mysql>GRANT ALL PRIVILEGES ON . TO ‘root’@’%’ WITH GRANT OPTION;
//赋予任何主机访问数据的权限
mysql>FLUSH PRIVILEGES;
//修改生效
mysql>EXIT
//退出
相关文章推荐
- Navicat连接MariaDB出错:1130-host . is not allowed to connect to this mysql server,
- 解决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
- 解决Navicat 出错:1130-host . is not allowed to connect to this MySql server
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- IT忍者神龟之mysql远程连接:ERROR 1130 (HY000): Host '*.*.*.*' is not allowed to connect to this MySQL server解决
- 通过navicat连接mysql服务器提示SQL Error (1130): Host '192.168.1.100' is not allowed to connect to this MySQL server
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 报错: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 远程连接错误:1130-host IP is not allowed to connect to this MySql server
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 报错: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不允许从远程访问的方法
- mysql远程连接:ERROR 1130 (HY000): Host '*.*.*.*' is not allowed to connect to this MySQL server解决办法