When I try to install MySQL 5.6 and it tells me that the specified port 3306 is already in use.
I already uninstalled my previous MySQL which is version 5.1 already and I do not have any idea to check which program is using the port.
Can somebody please post a step by step guide?
111 Answer
First of all uninstall the previous version of mysql... in most of the cases it works. If it doesn't , open Run (win+R) and type "resmon.exe" .A window will be opened, now click on Listening ports .Now you can see port "3306" as mysqld.exe. Now, remember the PID of the mysqld.exe. Now, open cmd (as administrator) and type taskkill /F /PID 3306 (if your PID is 3306) .... That's it now you can reinstall mysql again with 3306 port
0