Sharley wrote:I have no idea why the Netstat is showing a shared port 3306 if the MySQL in XAMPP is now using another port.
I haven't done anything to have MySQL use another port and everything looks like it is actually using 3306. The my.ini says 3306 and so does php.ini (I never touched them).
It seems both program actually _are_ sharing port 3306 (something that should be impossible. Maybe Windows allows it? It allows a lot of wrong things...). Indeed my other program is just listening to the port as a server, but no data is being transferred. I have also tried connecting to it a client (the protocol doesn't have anything to do with mysql, of course) but I haven't try to do this _and_ using mysql _at the same time_. May be that would be when things would get screwed up (the data of the two communications getting mixed).
And no i didn't install the services. The checkboxes are shown with a grey tick on it - indeed if I had to tell by looking at them I would say they are ticked, but if I click them I am asked whether to _install_ (not uninstall) the service. I guess the grey tick means "unchecked" and becomes a green tick when checked (very bad UI design in my opinion).
Anyway, in order to use another port I will simply edit my.ini and php.ini. I just thought there would be an easier and less error-prone way, since it seemed to me a pretty common need. And this strange works-out-of-the-box-though-other-program-is-using-the-port thing (plus the existence of the checkports script plus the lack of a simple way to change port or a faq about it) made me suspect xampp may be automatically and transparently switching to another port, but apparently that's not the case.