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

MySQL

netstat -tanp|grep mysqld

tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 17925/mysqld

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