how to stop mysql mac code example Example: stop mysql server mac brew services stop mysql brew services start mysql brew services restart mysql