mysql
mysql用法
启动
sudo systemctl start mysqld.service
CentOS 6
sudo systemctl start mysqld.service
查看状态
sudo systemctl status mysqld.service
CentOS 6:
sudo service mysqld status
代码停止
sudo systemctl stop mysqld.service
CentOS 6:
sudo service mysqld stop
重启
sudo systemctl restart mysqld.service
CentOS 6:
sudo service mysqld restart