启动mysql报这个 Starting MySQL database server mysqld No directory, logging in with HOME=/ Try usermod -d /var/lib/mysql mysql and then /etc/init.d/mysql restart