couch-potatoe
Jan 5 2006, 02:28 PM
Hi guys,
Probably a dumb question, but is it possible to change the location of the socket for mysql_connect within the uniform server, I'd like to change it to match the path my host server uses so I dont need to keep rememberihg to modify my php code depending on weather I'm testing localy using the uniform server or uploading stuff to my host - I just put a live database out of action for 2 days (oops) because I forgot to tweak the code back having played with the php locally...
Cheers
Couch Potatoe
olajideolaolorun
Jan 5 2006, 09:52 PM
There should be a way.. try editing the my-small.cnf file or the php.ini file.
couch-potatoe
Jan 7 2006, 07:43 AM
It OK, I've sussed it already - I didnt need to change anything - it would appear that the normal socket 3306 is being used locally and the file path works on my host...
I'm guessing that the socket is tried first, and the file path is used if the socket cant be found.
Cheers
Couch
olajideolaolorun
Jan 7 2006, 08:03 PM
Oh ok... Had the same problems with 3DS Max's License System. Uses that port for something....
Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.