1. Start using service: service mysql start
2. Start using mysqld script: /etc/inint.d/ mysql start
3. Use safe_mysqld to start: safe_mysql&
1. Use service to start: service mysql stop
2. Use the mysqld script to start: /etc/inint.d/mysql stop
3. mysqladmin shutdown
1. Start using service: service mysql restart
2. Start using mysqld script: /etc/inint.d /mysql restart
>>mysql 1
Indicates that the service has been shut down successfully
The above is the detailed content of How to start, stop, and restart MySQL in Linux system. For more information, please follow other related articles on the PHP Chinese website!