centos7.4怎么开启mysql服务

lewis 2018-12-03 20次阅读

在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



发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。