Check out example codes for "start mysql". It will help you in understanding the concepts better.

Code Example 1

mysql-ctl cli

Code Example 2

service mysql start
service mysql stop
service mysql restart

Code Example 3

sudo /etc/init.d/mysql start
or 
systemctl start mysql.service

Learn ReactJs, React Native from akashmittal.com