mysql数据库连接报错:is not allowed to connect to this mysql server
is not allowed to connect to this MySQL server服务器上面安装的mysql数据库在本地连接的时候报错:is not allowed to connect to this MySQL server mysql数据库只允许自身所在的本机器连接,不允许远程连接。在mysql所在服务器上面登录进mysql数据库中:进入到mysql数据库中: 可以看到 我们执行查询语句得到的数据结果中 host 的值是 localhost我们执行update语句把权限进行修改
原创
2022-06-10 17:10:57 ·
42920 阅读 ·
7 评论