Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/131008in05.com.pid).
[root@131008in05 var]# /usr/local/mysql/bin/mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
日志文件如下:
131025 22:29:02 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist 131025 22:40:31 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 131025 22:40:32 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
--user=*) # Note that the user will be passed to mysqld so that it runs # as 'user' (crucial e.g. if log-bin=/some_other_path/ # where a chown of datadir won't help)