原文:Mysql远程登录报错:Host '192.168.1.3' is not allowed to connect to this MySQL server

那个MySQL服务器要设置你的ip访问权限 安装mysql时root权限没有设置好 解决方法: . 改表法。 可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 mysql 数据库里的 user 表里的 host 项,从 localhost 改称 登录数据库:mysql u root pvmware mysql gt use ...

2017-10-18 11:33 0 3342 推荐指数:

查看详情

HOST is not allowed to connect to this mysql server

HOST is not allowed to connect to this mysql server host主机不能访问本机的mysql服务,原因需要连接非本机的mysql的时候,默认host是localhost,我们需要将这个mysql连接权限设置成%,更改方法直接通过软件更改 ...

Thu Mar 05 01:19:00 CST 2020 0 6899
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM