Jeffrey D. Means wrote:

I am trying to connect to a DB on a difrent server but mysql keeps connecting to the local server via the socket. What is going on?
-- code snippet--
$connection = mysql_connect("mysql.meanspc.com:3306", "Removed", "Removed");

Well try some debugging :

   $connection = mysql_connect(...) or die(mysql_error());

What do you get ?

--
Josip Dzolonga
http://josip.dotgeek.org

jdzolonga[at]gmail.com



Reply via email to