mariadb 安装后设置密码失败 出现is not allowed to connect to this mariadb server
2016-11-16 11:02
555 查看
CentOS7.0以及RHEL7.0使用此命令
systemctl stop mariadb
/usr/bin/mysqld_safe --skip-grant-tables
另外开个SSH连接或是另开一个shell
[root@localhost ~]# mysql
mysql>use mysql mysql>update user set password=password("123456") where user="root";
mysql>flush privileges;
mysql>exit
systemctl stop mariadb
/usr/bin/mysqld_safe --skip-grant-tables
另外开个SSH连接或是另开一个shell
[root@localhost ~]# mysql
mysql>use mysql mysql>update user set password=password("123456") where user="root";
mysql>flush privileges;
mysql>exit
相关文章推荐
- Navicat 连接mysql失败: Host '*' is not allowed to connect to this MariaDB server
- Navicat 连接mysql失败: Host '*' is not allowed to connect to this MariaDB server
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- Mariadb-Host '192.168.*.*' is not allowed to connect to this MariaDB server"的解决方法
- 解决报错:错误1130- Host xxx is not allowed to connect to this MariaDb server
- Mariadb-Host '192.168.*.*' is not allowed to connect to this MariaDB server"的解决方法
- Navicat连接MariaDB出错:1130-host . is not allowed to connect to this mysql server,
- MySql设置远程登录-1130:Host ... is not allowed to connect to this MySQL server
- MYSQL远程连接出现Host * is not allowed to connect to this MySQL server
- mysql连接提示“登录出现1130 is not allowed to connect to this MySql server,解决方法
- 错误1130- Host xxx is not allowed to connect to this MariaDb server
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题的解决方法
- 远程连接mysql 出现: 1130: Host is not allowed to connect to this MySQL server 解决
- 远程连接服务器出现 SQL Error (1130): Host IP is not allowed to connect to this MySQL server 错误
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- mysql本地訪问linuxserver,出现SQLSTATE[HY000] [1130] Host '127.0.0.1' is not allowed to connect to this
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- MYSQL安装问题 1130 host localhost is not allowed to connect to this MYSQL server