Navicat 连接mysql失败: Host '*' is not allowed to connect to this MariaDB server
2016-08-30 03:06
686 查看
问题描述:Navicat 为管理方便,连接Linux 中mysql失败,如下如下错误:Host '*' is not allowed to connect to this MariaDB server
解决方案:
解决方案:
//允许用户testuser从ip为222.129.1.1的主机连接到mysql服务器,并使用testpassword作为密码 MariaDB [(none)]> grant all privileges on *.* to 'testuser'@'222.129.1.1' identified by 'testpassword' with grant option; (若是允许所有ip:GRANT ALL PRIVILEGES ON *.* TO ‘testuser’@'%’ IDENTIFIED BY ‘testpassword’ WITH GRANT OPTION;) MariaDB [(none)]> flush privileges; //刷新权限缓存 MariaDB [(none)]> show privileges; MariaDB [(none)]> show grants for 'testuser'@'222.129.1.1'
相关文章推荐
- Navicat 连接mysql失败: Host '*' is not allowed to connect to this MariaDB server
- Navicat连接MariaDB出错:1130-host . is not allowed to connect to this mysql server,
- Navicat连接MySQL 出错:1130 host is not allowed to connect to this MySql server
- 远程连接MYSQL提示:Host XXX is not allowed to connect to this MySQL server 解决办法
- 连接MySQL数据库报 "Host XXX.XXX.XXX.XXX is not allowed to connect to this MySQL server " 解决办法。
- mysql远程连接 Host * is not allowed to connect to this MySQL server
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 服务器连接错误Host 'XXX' is not allowed to connect to this MySQL server
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server(...
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server,MySQL不允许从远程访问的方法 .
- 授权访问MySQL Server(远程连接MYSQL提示Host is not allowed to connect to this MySQL server)
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost
- 服务器连接错误Host 'XXX' is not allowed to connect to this MySQL server
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- mysql不支持远程连接的解决办法(#1130 - Host 'localhost' is not allowed to connect to this MySQL server)
- Discuzx2.5 数据库连接问题 Host '***.***.***.***' is not allowed to connect to this MySQL server
- 服务器连接错误Host 'XXX' is not allowed to connect to this MySQL server如何解决
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost