I installed MySQL via MacPorts. What is the command I need to stop the server (I need to test how my application behave when MySQL is dead)?
mysql> show variables where variable_name like '%dir%';
| datadir | /opt/local/var/db/mysql5/ |