Redirecting to /bin/systemctl restart mysql. service Failed to restart mysql.service: Unit not found. 使用如下命令操作mysql即可: systemctl restart mysqld.service systemctl start mysqld.service systemctl stop mysqld.service