Home >Operation and Maintenance >CentOS >How to start mysql service under centos7

How to start mysql service under centos7

王林
王林Original
2020-04-01 10:52:5511500browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn