Search code examples
mysql

[ERROR][Server] Do you already have another mysqld server running on port: 3306?


enter image description here

enter image description here

When i type mysqld --console(picture 1) I get the error that I have another mysql server running on port 3306 (picture 2)

How can I find and delete the other mysql running on port 3306?(from command line)


Solution

  • First identify the PID of the process using port 3306

    netstat -aon
    

    Stop the task by

    taskkill /pid 1234 /f
    

    Replace 1234 with the PID of port 3306