start mysql mac command line 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