How to start and stop the MySQL Service under Unix/Linux

If you are using Windows, you can start and stop the MySQL service just like any other service.
Open a cmd window and type:

> net stop MySQL
> net start MySQL

Where MySQL is the name of the MySQL service.

On Linux you can do something like this:

 # /etc/init.d/mysqld start
 # /etc/init.d/mysqld stop
 # /etc/init.d/mysqld restart

Fedora / Red Hat also support this:

# service mysqld start
# service mysqld stop
# service mysqld restart