To restart, start or stop MySQL server from the command line, type the following at the shell prompt…
/etc/init.d/mysqld start
|
/etc/init.d/mysqld stop
|
/etc/init.d/mysqld restart
|
service mysqld start
|
service mysqld stop
|
service mysqld restart
|
service mysql start
|
service mysql stop
|
service mysql restart
|
sudo /usr/local/mysql/support-files/mysql.server start
|
sudo /usr/local/mysql/support-files/mysql.server stop
|
sudo /usr/local/mysql/support-files/mysql.server restart
|