打印

mysql启动不了,提示he server quit without updating PID file (/usr/local/mysql/var/iZuf63mxkrdvotr78sx34mZ.pid)

mysql启动不了,提示he server quit without updating PID file (/usr/local/mysql/var/iZuf63mxkrdvotr78sx34mZ.pid)

171127 12:28:02 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
171127 12:28:02 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.48-log) starting as process 4071 ...
171127 12:28:02 [Note] Plugin 'FEDERATED' is disabled.
171127 12:28:02 InnoDB: The InnoDB memory heap is disabled
171127 12:28:02 InnoDB: Mutexes and rw_locks use GCC atomic builtins
171127 12:28:02 InnoDB: Compressed tables use zlib 1.2.7
171127 12:28:02 InnoDB: Initializing buffer pool, size = 16.0M
171127 12:28:02 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock /usr/local/mysql/var/ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
171127 12:28:02  InnoDB: Retrying to lock the first data file
InnoDB: Error: checksum mismatch in data file /usr/local/mysql/var/ibdata1
171127 12:28:03 InnoDB: Could not open or create data files.
171127 12:28:03 InnoDB: If you tried to add new data files, and it failed here,
171127 12:28:03 InnoDB: you should now edit innodb_data_file_path in my.cnf back
171127 12:28:03 InnoDB: to what it was, and remove the new ibdata files InnoDB created
171127 12:28:03 InnoDB: in this failed attempt. InnoDB only wrote those files full of
171127 12:28:03 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
171127 12:28:03 InnoDB: remove old data files which contain your precious data!
171127 12:28:03 [ERROR] Plugin 'InnoDB' init function returned error.
171127 12:28:03 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
171127 12:28:03 [ERROR] Unknown/unsupported storage engine: InnoDB
171127 12:28:03 [ERROR] Aborting

171127 12:28:03 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

171127 12:28:03 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZuf63mxkrdvotr78sx34mZ.pid ended
171127 12:29:25 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
171127 12:29:25 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.48-log) starting as process 5631 ...
171127 12:29:25 [Note] Plugin 'FEDERATED' is disabled.
171127 12:29:25 InnoDB: The InnoDB memory heap is disabled
171127 12:29:25 InnoDB: Mutexes and rw_locks use GCC atomic builtins


171127 12:29:25 InnoDB: Compressed tables use zlib 1.2.7
171127 12:29:25 InnoDB: Initializing buffer pool, size = 16.0M
171127 12:29:25 InnoDB: Completed initialization of buffer pool
InnoDB: Error: checksum mismatch in data file /usr/local/mysql/var/ibdata1
171127 12:29:25 InnoDB: Could not open or create data files.
171127 12:29:25 InnoDB: If you tried to add new data files, and it failed here,
171127 12:29:25 InnoDB: you should now edit innodb_data_file_path in my.cnf back
171127 12:29:25 InnoDB: to what it was, and remove the new ibdata files InnoDB created
171127 12:29:25 InnoDB: in this failed attempt. InnoDB only wrote those files full of
171127 12:29:25 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
171127 12:29:25 InnoDB: remove old data files which contain your precious data!
171127 12:29:25 [ERROR] Plugin 'InnoDB' init function returned error.
171127 12:29:25 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
171127 12:29:25 [ERROR] Unknown/unsupported storage engine: InnoDB
171127 12:29:25 [ERROR] Aborting

171127 12:29:25 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

171127 12:29:25 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZuf63mxkrdvotr78sx34mZ.pid ended

TOP

大神来吧

TOP

之前做过什么操作?
提前备份好数据库目录到其他目录下!!!!!!!!!
然后删除数据库目录下的ib_logfile ib_logfile0 ib_logfile1 ibdata1  这几个文件,然后重启试试

TOP

ok

TOP