CentOS7下启动关闭重启查看MySQL服务命令

CentOS7下启动、关闭、重启、查看MySQL服务-云海天教程

[root@vm Desktop]# service mysqld start

Redirecting to /bin/systemctl start  mysqld.service

2.关闭命令

[root@vm ~]# service mysqld stop

Redirecting to /bin/systemctl stop  mysqld.service

3.重启命令

[root@vm ~]# service mysqld restart

Redirecting to /bin/systemctl restart  mysqld.service

4.查看服务状态

[root@vm ~]# service mysqld status

Redirecting to /bin/systemctl status  mysqld.service

5.查看MySql系统配置

[root@vm ~]# cat /etc/my.cnf

以上是 CentOS7下启动关闭重启查看MySQL服务命令 的全部内容, 来源链接: utcz.com/a/124704.html

回到顶部