windows上的mysql,远程访问
我刚刚在 Windows 机器上下载并安装了 MySQL。我只会在同一台机器上使用它。我想确保无法与我的服务器建立远程连接。我应该用什么方法来做到这一点?我正在使用Windows。我完全禁用了 TCP/IP 访问,但似乎通过管道的连接不起作用(这是 Windows 的事情吗?)谢谢。
I just downloaded and installed MySQL on a windows machine. I will only be using it from the same machine. I would like to make sure that no remote connections can be made to my server. What is the way I should do this? I am using windows. I disabled TCP/IP access altogether but it seems connections through pipes don't work (is this a windows thing?) Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保您的服务器侦听
127.0.0.1
ip 而不是0.0.0.0
这可以通过编辑
my.ini
/来完成my.cnf
文件或者通过在windows中编辑mysql服务。将以下行添加到
[mysqld]
部分的my.ini
文件中查看更多信息 手册
Make sure your server listens to
127.0.0.1
ip instead of0.0.0.0
This can either be done by editing
my.ini
/my.cnf
file or by editing the mysql service in windows.Add following line to your
my.ini
file in[mysqld]
sectionSee more on manual