如何在windows上访问远程mysql服务器?
我正在使用appserv,我正在尝试访问远程mysql服务器,在linux中我可以这样做:
将.上的所有权限授予由“pass”标识的“用户”;
同花顺特权;
并将主机更新为“%”,并在 my.cnf 上注释“bind-address”行,但在 Windows 中,我找到 my.ini,但在那里找不到“bind-address”,我尝试将“bind-address” -address=0.0.0.0' 但它不起作用。
我可以通过ip访问我的apache,但无法访问mysql。
我错过了什么吗?
谢谢。
I'm using appserv, I'm trying to access remote mysql server, in linux i can do it doing:
grant all privileges on . to 'user' identified by 'pass';
flush privileges;
and update the host to '%' and comment the line 'bind-address' on my.cnf, but in windows, i find my.ini but i can't find 'bind-address' there, i tried to put 'bind-address=0.0.0.0' but it doesn't work.
I can access my apache via ip, but i can't access the mysql.
I'm missing something?
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过此处?
Have you tried all steps outlined here?