Home >Operation and Maintenance >CentOS >How to start mysql service under centos7
1. Start command
[root@xufeng Desktop]# service mysqld start Redirecting to /bin/systemctl start mysqld.service
2. Shut down command
[root@xufeng ~]# service mysqld stop Redirecting to /bin/systemctl stop mysqld.service
3. Restart command
[root@xufeng ~]# service mysqld restart Redirecting to /bin/systemctl restart mysqld.service
Related tutorial recommendations: centos tutorial
The above is the detailed content of How to start mysql service under centos7. For more information, please follow other related articles on the PHP Chinese website!