[root@backup mysql_3307]# service mysql_3307 restart
ERROR! MySQL server PID file could not be found!
Starting MySQL.Logging to '/mysql_3307/data/backup.err'.
ERROR! The server quit without updating PID file (/mysql_3307/data/backup.pid)
解决方法:
通过查看目录的用户和用户组都是root,如下:
更改data目录权限:
chown -R mysql:mysql /mysql_3307/
更改后重新启动mysql