CentOS7 启动、关闭、重启、查看mysql服务

  1. 启动 : service mysqld start
  2. 关闭: service mysqld stop
  3. 重启: service mysqld restart
  4. 查看服务状态:service mysqld status
  5. 查看MySql系统配置:cat /etc/my.cnf
  6. centos 重启:shutdown或reboot
落后就要吃土,努力吧,骚年!!!
原文地址:https://www.cnblogs.com/u-damowang1/p/14380848.html