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