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
登录后复制
相关教程推荐:centos教程
以上就是centos7下怎么启动mysql服务的详细内容,更多请关注Work网其它相关文章!