netstat -an | grep 3306 does not give any output, however in all the four files in /etc/ - my-huge.cnf, my-large.cnf, my-medium.cnf, my-small.cnf - i can see port = 3306 in the "[mysqld]" section. ( i am not sure which one of the four is exactly to be referred... if somebody can point it out...)
Additionally netstat -an | grep -i sql, i get the following output:
-----------
bash-3.1$ netstat -an | grep -i sql
unix 2 [ ACC ] STREAM LISTENING 8469 /var/run/mysql/mysql.sock
-----------
Posted by Navin Jathan