Hi, I am trying to connect to a mysql database on one server from a website hosted on godaddy. Has anyone every had success connecting to a Mysql Database from a website hosted on godaddy and the database is not hosted on godaddy? I asked Godaddy support - they gave me this code curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt ($ch, CURLOPT_PROXY, "http://64.202.165.130:3128"); curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE); So it looks like i have to connect to Mysql Through A Proxy? - not sure. Thank you
Whatever hosting + MySQL = pain on the arse However the above means that they have a proxy setup, probably decreasing performance. Check this out
the server with the database,you need to add 'Access Hosts' in mysql and maybe a Whitelisted so it can get though the firewall.
I saw a video on Youtube and the guy suggested hosting + Mysql. How is this a p.i.t.a? Whatever hosting + MySQL = pain on the arse However the above means that they have a proxy setup, probably decreasing performance.