美文网首页
安装配置腾讯云服务器并解决[1130] Host t '*’ i

安装配置腾讯云服务器并解决[1130] Host t '*’ i

作者: 程序_Yuan | 来源:发表于2018-08-17 15:26 被阅读0次

在自己计算机用navicat连接腾讯云远程数据库出现问题:

[1130] Host t '*’ is not allowed to connect to this se...

这是MYSQL的权限问题

解决方法:

进入mysql:mysql -u帐号 -p密码

mysql> grant all privileges on *.* to 'root'@'%'identified by 'mypassword123456';

mysql> flush privileges;

mysql> exit

OK

相关文章

网友评论

      本文标题:安装配置腾讯云服务器并解决[1130] Host t '*’ i

      本文链接:https://www.haomeiwen.com/subject/pwftiftx.html