
有没有人遇到过访问mysql数据库重定向问题
1个回答
展开全部
#bind-address=127.0.0.1 注释,你已经做了。
本地用root登录后执行:
mysql> grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option; 其中123456 是root的密码(根据实际情况修改)
这样应该就没问题了
本地用root登录后执行:
mysql> grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option; 其中123456 是root的密码(根据实际情况修改)
这样应该就没问题了
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询