Navicat 连接MariaDB 失败: Host '*' is not allowed to connect to this MariaDB server
题描述:Navicat 为管理方便,连接Linux 中Mariadb失败,如下如下错误: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 连接MariaDB 失败: Host '*' is not allowed to connect to this MariaDB server的更多相关文章
- 远程连接MySQL提示 Host is not allowed to connect to this MySQL server
		
进入连接的主机修改系统数据库MySQL 下面的user表,把User= root(这里可能是其他你所需要连接的用户名)的这行数据的Host从localhost改为% 如下图: 修改完之后一定要重启My ...
 - mysql远程连接 Host * is not allowed to connect to this MySQL server(第一次配置好lnmp环境)
		
1.第一次在linux上搭建好mysql,本机windows远程链接报错Host * is not allowed to connect to this MySQL server 2.原因:mysql ...
 - ERROR 1130: Host is not allowed to connect to this MySQL server
		
解决远程连接mysql错误1130代码的方法 今天在用远程连接Mysql服务器的数据库,不管怎么弄都是连接不到,错误代码是1130,ERROR 1130: Host 192.168.2.159 is ...
 - mysql不能链接远程,报(Host '***.***.***.***' is not allowed to connect to this MySQL server)
		
Host '***.***.***.***' is not allowed to connect to this MySQL server 其中***...是本机公网ip; 解决办法: 首先看报错窗口 ...
 - ERROR 1130: Host ’...′ is not allowed to connect to this MySQL server
		
/******************************************************************** * ERROR 1130: Host ’...′ is no ...
 - MYSQL ERROR 1130: Host is not allowed to connect to this MySQL server
		
今天安装MYSQL遇到MYSQL ERROR 1130: Host is not allowed to connect to this MySQL server, 试了很多办法都不行 skip-gra ...
 - ‘Host’ is not allowed to  connect to this mysql server
		
‘Host’ is not allowed to connect to this mysql server mysql 数据库不允许远程连接 方法一:修改 host 表 进入mysql数据库,选择m ...
 - mysql 远程访问不行解决方法 Host is not allowed to connect to this MySQL server
		
mysql 远程访问不行解决方法 Host is not allowed to connect to this MySQL server 如果你想连接你的mysql的时候发生这个错误: ERROR 1 ...
 - mysql远程连接:ERROR 1130 (HY000): Host '*.*.*.*' is not allowed to connect to this MySQL server解决办法
		
安装完MySQL后,远程连接数据库的时候,出现 ERROR 1130 (HY000): Host '192.168.0.1' is not allowed to connect to this MyS ...
 
随机推荐
- Winform中Picture控件图片的拖拽显示
			
注解:最近做了一个小工具,在Winform中对Picture控件有一个需求,可以通过鼠标从外部拖拽图片到控件的上,释放鼠标,显示图片! 首先你需要对你的整个Fom窗口的AllowDrop设置Ture ...
 - ecs
			
第一章弹性计算服务ecs概述 1.什么是弹性计算服务ecs 2弹性计算服务ecs的特点 3.弹性计算服务ecs的应用场景 slb------ecs----ecs----------- rds ...
 - Viewport模版
			
通用模版 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta ...
 - day-11函数的形参与实参
			
形参与实参 参数介绍: 函数为什么要有参数:因为内部的函数体需要外部的数据 怎么定义函数的参数:在定义函数阶段,函数名后面()中来定义函数的参数 怎么使用函数的参数:在函数体中用定义的参数名直接使用 ...
 - FirewallD 快速使用文档
			
FirewallD简介 FirewallD是CentOS7系列上代替iptables管理netfilter的配置工具,提供图形化和命令行,使用python开发(新版中计划使用c++重写),提供图形化和 ...
 - UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-5: ordinal not in range(128)
			
原因是pip安装python包会加载我的用户目录,我的用户目录恰好是中文的,ascii不能编码.解决办法是: python目录 Python27\Lib\site-packages 建一个文件site ...
 - cut字符串截取
			
cut字符串截取 -d 按字节截取 [root@slave elk]# ll total 0 drwxr-xr-x. 6 root root 194 Jan 24 16:15 bigdesk 截取前2 ...
 - python字符串截取、查找、分割
			
Python 截取字符串使用 变量[头下标:尾下标],就可以截取相应的字符串,其中下标是从0开始算起,可以是正数或负数,下标可以为空表示取到头或尾. # 例1:字符串截取 str = '1234567 ...
 - Windows2008 R2 X64 PHP环境搭建步骤
			
Windows2008 R2 X64 PHP环境搭建步骤: 下载:Mysql5.7.23.PHP5.6.Zend.XCahe 一.安装MYSQL.导入数据: 解压MYsql压缩包,并新建Data目录, ...
 - Read The Docs搭建
			
#!/bin/sh ########################### base ###################### yum -y update yum -y install yum-u ...