I need to stop Mysql server in MAMP PRO and keep Apache running. How can I do that ?
There is a stop button available but it stops all services.
I figured it out...
There is a shell script for that: /Applications/MAMP/bin/stopMysql.sh
If you changed your root password you have to edit this file and change the password in it.
See my answer here: https://stackoverflow.com/questions/17570010/how-start-stop-mamp-pro-using-command-line/19801925#19801925
You can just use the portion to start/stop MySQL.