Cheat Sheet – Frequent Use Commands

Command Description Examples
netstat -tln
To find a listener on a port

grep port /etc/mysql/my.cnf ( at least in debian/ubuntu works )

or

netstat -tlpn | grep mysql
mysql --host=127.0.0.1 --port=3306 -uroot -ppassword
Connect to MySQL Client

 

admin has written 51 articles