January 5, 200620 yr comment_2229 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 Report
January 6, 200620 yr comment_2231 There should be a way.. try editing the my-small.cnf file or the php.ini file. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
January 7, 200620 yr Author comment_2255 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 Report
January 8, 200620 yr comment_2262 Oh ok... Had the same problems with 3DS Max's License System. Uses that port for something.... Thanks <_> Best Regards Olajide Olaolorun The Uniform Server Development Team Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.