如何在windows上访问远程mysql服务器?

发布于 2024-12-21 00:29:55 字数 316 浏览 4 评论 0原文

我正在使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月亮坠入山谷 2024-12-28 00:29:55

您是否尝试过此处?

Have you tried all steps outlined here?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文