centos7.4 mysql mysql服务

centos7.4怎么开启mysql服务

九三
188
2021-01-18 13:29:03
栏目: 云计算

centos7.4怎么开启mysql服务

在centos7.4中开启mysql服务的方法

1.启动命令

[root@xufeng Desktop]# service mysqld start

Redirecting to /bin/systemctl start mysqld.service

2.关闭命令

[root@xufeng ~]# service mysqld stop

Redirecting to /bin/systemctl stop mysqld.service

3.重启命令

[root@xufeng ~]# service mysqld restart

Redirecting to /bin/systemctl restart mysqld.service

0
看了该问题的人还看了