mysql how to start server code example Example 1: start mysql server mysql.server start Example 2: start mysql mysql-ctl cli