Help using a different MySQL socket or port? Help using a different MySQL socket or port?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Help using a different MySQL socket or port?

Started by mxg, December 27, 2003, 12:59:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mxg

My host has given me an instance of MySQL running on port 3382 with a different socket in /tmp.
I've tried using localhost:/tmp/mysql.tomb3346 and localhost:3382 as the server name, but both give the error MySQL said: Can't connect to local MySQL server through socket '/tmp/tomb3346'
Is this a problem with my MySQl configuration or is there a workaround with Coppermine? Note the error message makes it appear as if the script has tried to use a different socket to the one I gave it. My other PHP scripts can all connect easily with mysql_connect().

Any help is very much appreciated :!:

Tom

mxg

Sorry, I've sorted it. It was entirely my fault.
There was another copy of my editor running in the background, re-saving the file every few mins!
Damn Windoze to hell...

Thanks for looking anyway!