mysql how to start server mac code example Example 1: start mysql server mac sudo mysql.server start Example 2: how to start mysql in terminal mac mysql -u root -p