Knowledge Base : Glossary : Suggest a Question
Search The Knowledge Base
Browse The Knowledge Base
Knowledge Base : HQ : Setup and Startup

How to check the MySQL is running?

Solution 1: Check the port is in listening mode

Run the command "netstat -an"

Check the port number 6033 is in LISTENING

Sample output:


c:\>netstat -an
Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1083 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING
TCP 0.0.0.0:6000 0.0.0.0:0 LISTENING
TCP 0.0.0.0:6033 0.0.0.0:0 LISTENING
TCP 0.0.0.0:7070 0.0.0.0:0 LISTENING
TCP 0.0.0.0:8021 0.0.0.0:0 LISTENING
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING
TCP 0.0.0.0:9090 0.0.0.0:0 LISTENING
TCP 0.0.0.0:12345 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1041 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1046 127.0.0.1:1047 ESTABLISHED
TCP 127.0.0.1:1047 127.0.0.1:1046 ESTABLISHED
TCP 192.168.1.180:139 0.0.0.0:0 LISTENING
TCP 192.168.1.180:1086 192.168.1.3:23 ESTABLISHED
TCP 192.168.1.180:2059 207.46.13.28:80 SYN_SENT
TCP 192.168.1.180:2060 192.168.1.1:8080 ESTABLISHED
TCP 192.168.1.180:6000 192.168.1.3:59541 ESTABLISHED
TCP 192.168.1.180:6000 192.168.1.3:59542 ESTABLISHED
TCP 192.168.1.180:6000 192.168.1.3:59543 ESTABLISHED
TCP 192.168.1.180:6000 192.168.1.3:59545 ESTABLISHED
UDP 0.0.0.0:445 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:1027 *:*



Related Articles
There are no related articles


Viewer Comments Add Comment
No viewers have posted comments

Powered By AutoKB