简体   繁体   English

虚拟服务器上托管的MySQL远程-无法从Mac连接

[英]MySQL remote hosted on virtual Server - can't connect from Mac

I am trying to connect to a remote MySQL Server hosted on a virtual Server running IIS. 我正在尝试连接到运行IIS的虚拟服务器上托管的远程MySQL Server。 I have granted to all ips to root using the 我已经授予所有IP使用root权限

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'PASSWORD';

I am able to connect from another Windows machine by going to the ip address that I use to remote in but I can not connect from a mac on another network... I can remote to the computer's ip from other networks but not luck with MySQL. 我可以通过转到用于远程访问的IP地址从另一台Windows计算机连接,但是我无法从另一网络上的Mac连接...我可以从其他网络远程到计算机的IP,但是不能通过MySQL运气。

The firewall has also been disabled. 防火墙也已被禁用。

It sounds to me like there is no Internet Protocol route from your mac to the server machine that's running MySQL. 在我看来,从您的Mac到运行MySQL的服务器计算机之间没有Internet协议路由。

If you cannot use ping on your mac to get a response from your server machine, you will not be able to connect from your machine to MySQL on that server. 如果无法在Mac上使用ping来从服务器计算机获取响应,则将无法从计算机连接到该服务器上的MySQL。

You may need to consult with your network engineering team to get them to figure this out for you. 您可能需要咨询您的网络工程团队,以使他们为您解决这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM