This forum is no longer active. Please post your questions to our new community site
Mamp Stack - Connect to remote mysql issue
|
|
I have not changed any configuration, but it seems that all of a sudden I cannot connect to remote databases via php using FQDN urls for the db host. However, the IP still works. This issue is recent only a couple of days. I am not sure if an upgrade on the remote servers is the cause of if it is my mamp stack. This does not work: $link = mysql_connect($fqdn_host, $user, $pass); This however, works: $link = mysql_connect($ipaddress_host, $user, $pass); Weird thing is that from other linux and windows machines the FQDN works |
|
|
Also to confirm this is a PHP specific issue: ~$ mysql -h somehost.net -u myuser -pSomePass -e “show databases” This totally works. |

