How To Check on which port no. the mysql is running


netstat -tanp|grep mysqld

tcp 0 0* LISTEN 17925/mysqld

The output of netstat command shows the MySQL server is running at port no. 3306 in localhost IP Address( ,
it is Listening and have the PID no. 17925 with program name mysqld