Windows – Ports being used on Windows XP

portwindows

I have a MySQL db running, or I want to see if its running.
What command may I use to see which ports are active and what they are running?

Best Answer

netstat -ano

Look for the line that is LISTENING on port 3306, and then check the PID.

An easier test it just to try and telnet in from another machine, to port 3306, or try to connect with a MySQL client.