MySQL connects to localhost via socket reguardless
| From: | Jeffrey D. Means | Date: | Sun, 10 Apr 2005 09:04:13 +0000 |
| Subject: | MySQL connects to localhost via socket reguardless | ||
| Groups: | php.db php.db php.db | ||
| Request: | Send a blank email to php-db+get-39157@lists.php.net to get a copy of this message | ||
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");
--
Jeffrey D. Means meaje@meanspc.com
Owner / CIO for MeansPC http://www.meanspc.com/
Custom Web Development For Your Needs. (970)308-1298
My Public PGP Key ID is: 0x81F00126
and available via:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x81F00126
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc