Redirecting to /bin/systemctl restart mysql.service

操作命令提示:Redirecting to /bin/systemctl restart mysql.service

使用如下命令操作mysql:

查看状态:systemctl statusmysqld.service
重启:systemctl restart mysqld.service
启动:systemctl start mysqld.service
停止:systemctl stop mysqld.service

查看状态:service mysqld status
重启:service mysqld restart
启动:service mysqld start
停止:service mysqld stop

你可能感兴趣的:(MYSQL)