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

Code Example 1

sudo /etc/init.d/mysql restart

Code Example 2

1. sudo /etc/init.d/mysql restart

 2. # service mysql restart

Learn ReactJs, React Native from akashmittal.com