腾讯云安装配置Apache+MariaDB服务器并解决SQLSTATE[HY000] [1130] Host t '*’ is not allowed to connect to this se问题
2018-03-09 10:37
711 查看
具体的安装方式(超详细,可直接复制命令运行):https://www.qcloud.com/community/article/321718001489545422
安装完后会出现以下问题(如果是远程连接的话):
问题:SQLSTATE[HY000] [1130] Host '***.**.***.***' is not allowed to connect to this MySQL server
内容这是MYSQL的权限问题
解决方法:
进入mysql:mysql -u帐号 -p密码
mysql> grant all privileges on *.* to 'root'@'%'identified by 'mypassword123456';
mysql> flush privileges;
mysql> exit
OK
安装完后会出现以下问题(如果是远程连接的话):
问题:SQLSTATE[HY000] [1130] Host '***.**.***.***' is not allowed to connect to this MySQL server
内容这是MYSQL的权限问题
解决方法:
进入mysql:mysql -u帐号 -p密码
mysql> grant all privileges on *.* to 'root'@'%'identified by 'mypassword123456';
mysql> flush privileges;
mysql> exit
OK
相关文章推荐
- 腾讯云安装配置Apache+MariaDB服务器并解决SQLSTATE[HY000] [1130] Host t '*’ is not allowed to connect to this se问题
- SQLSTATE[HY000] [1130] Host 'DESKTOP-O0CRH8F' is not allowed to connect to this MySQL server
- MYSQL安装问题 1130 host localhost is not allowed to connect to this MYSQL server
- IT忍者神龟之mysql远程连接:ERROR 1130 (HY000): Host '*.*.*.*' is not allowed to connect to this MySQL server解决
- 解决报错:错误1130- Host xxx is not allowed to connect to this MariaDb server
- 解决MySQL ERROR 1130 (HY000): Host 'XXXX' is not allowed to connect to this MySQL server
- mysql配置,问题解决:Host '**.***.**.***' is not allowed to connect to this MySQL server.
- 解决MySQL ERROR 1130 (HY000): Host 'XXX' is not allowed to connect to this MySQL server
- ERROR 1130 (HY000): Host 'xxxxxx' is not allowed to connect to this MySQL server解决办法
- SQLSTATE[HY000] [1130] Host '127.0.0.1' is not allowed to connect to this MySQL server怎么解决?
- mysql远程连接:ERROR 1130 (HY000): Host '*.*.*.*' is not allowed to connect to this MySQL server解决办法
- mysql远程连接:ERROR 1130 (HY000): Host '*.*.*.*' is not allowed to connect to this MySQL server解决办法
- ERROR 1130 (HY000): Host 'localhost' is not allowed to connect to this MySQL server
- 远程连接mysql 出现: 1130: Host is not allowed to connect to this MySQL server 解决
- mysql远程连接:ERROR 1130 (HY000): Host '*.*.*.*' is not allowed to connect to this MySQL server解决办法
- 服务器连接错误Host 'XXX' is not allowed to connect to this MySQL server如何解决
- ERROR 1130 (HY000): Host 'localhost' is not allowed to connect to this MySQL server
- ERROR 1130 (HY000): Host '10.117.1.13' is not allowed to connect to this MySQL server
- ERROR 1130 (HY000) Host ‘hostname’ is not allowed to connect to this MySQL server
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server,MySQL不允许从远程访问的方法 .