windows:
net start mysql net stop mysql
centos:
--开启服务 service mysqld start --关闭服务 service mysqld stop --重启服务 service mysqld restart --查看服务状态 service mysqld status