How to see if mysql is running

Using mysqladmin:

mysqladmin -u root -p status

Using ps:

ps aux ¦ grep mysql