0

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?

11
  • when you install MySQL 5.6, you can change the port into 3307.
    – JW 웃
    May 29, 2013 at 13:30
  • Open task manager and look for mysqld process
    – JesseJames
    May 29, 2013 at 13:31
  • 2
    did you actually stop the old process before you removed MySQL?
    – Alnitak
    May 29, 2013 at 13:34
  • 3
    You can run netstat -tulpn to see what process is listening on 3306. May 29, 2013 at 13:38
  • 1
    most servers that run MySQL don't have control panels... ;-)
    – Alnitak
    May 29, 2013 at 13:38

1 Answer 1

0

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

You must log in to answer this question.