Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Help using a different MySQL socket or port?  (Read 2864 times)

0 Members and 1 Guest are viewing this topic.

mxg

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.geodetech.com/
Help using a different MySQL socket or port?
« on: December 27, 2003, 12:59:25 am »

My host has given me an instance of MySQL running on port 3382 with a different socket in /tmp.
I've tried using
Code: [Select]
localhost:/tmp/mysql.tomb3346 and
Code: [Select]
localhost:3382 as the server name, but both give the error
Code: [Select]
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
Logged

mxg

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.geodetech.com/
Help using a different MySQL socket or port?
« Reply #1 on: December 27, 2003, 06:49:47 am »

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!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.