I have a MySQL instance running on a Debian server and I can connect to it locally with no problems. However, I am unable to connect to it remotely. When I try this from m
If you use VPN connection to connect remote database server and you got this kind of error then just check it out two simple steps...
1) In windows machine, please go to "Control Panel\Network and Internet\Network Connections" path and right click on local area network and go to properties. Click on TCP/IPv4 and go the properties. Make sure the IP and DNS server(if you use DHCP or not?).
2) After this please restart the Machine and check it out again.
Hope this will work. In my case it works.
Note: Please make sure all your settings are correct. This answer is funny but it works in my case :)
Thanks!