To begin, use Windows+R to bring up the Run window. Second, type services.msc into the search box and click Enter: Third, choose MySQL from the list of services and hit the restart button.
1. sudo /etc/init.d/mysqld start to start MySQL server
2. sudo /etc/init.d/mysqld stop to stop MySQL server
3. sudo /etc/init.d/mysqld restart to restart MySQL server