couch-potatoe Posted January 5, 2006 Report Share Posted January 5, 2006 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 Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted January 6, 2006 Report Share Posted January 6, 2006 There should be a way.. try editing the my-small.cnf file or the php.ini file. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
couch-potatoe Posted January 7, 2006 Author Report Share Posted January 7, 2006 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 Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted January 8, 2006 Report Share Posted January 8, 2006 Oh ok... Had the same problems with 3DS Max's License System. Uses that port for something.... Thanks <_> Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.