Mysql数据库远程授权

上传:zhalehj 浏览: 14 推荐: 0 文件:PDF 大小:38.57KB 上传时间:2021-02-01 06:28:46 版权申诉
如果mysql不支持远程连接,会出现提示:错误代码是1130,ERROR 1130: Host 192.168.0.10 is not allowed to connect to this MySQL server ,解决此问题有以下2个方法: 1、改表法:在本机登入mysql后,更改“mysql”数据库里的“user”表里的“host”项,从”localhost”改为'%'。 mysql> mysql>use mysql; mysql>select 'host' from user where user='root'; #查看mysql库中的user表的host值(
上传资源
用户评论