重新初始化:
[root@pacteralinux MySQL]# scripts/mysql_install_db --basedir=/usr/local/mysql --datadir=/mnt/resource/mysqldate --user=mysql
Installing MySQL system tables...2013-11-26 13:41:48 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2013-11-26 13:41:48 6768 [Note] InnoDB: The InnoDB memory heap is disabled
2013-11-26 13:41:48 6768 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-11-26 13:41:48 6768 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-11-26 13:41:48 6768 [Note] InnoDB: Not using CPU crc32 instructions
2013-11-26 13:41:48 6768 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-11-26 13:41:48 6768 [Note] InnoDB: Completed initialization of buffer pool
2013-11-26 13:41:48 6768 [Note] InnoDB: Highest supported file format is Barracuda.
2013-11-26 13:41:48 6768 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
2013-11-26 13:41:48 6768 [Note] InnoDB: Database was not shutdown normally!
2013-11-26 13:41:48 6768 [Note] InnoDB: Starting crash recovery.
2013-11-26 13:41:48 6768 [Note] InnoDB: Reading tablespace information from the .ibd files...
2013-11-26 13:41:48 6768 [Note] InnoDB: Restoring possible half-written data pages
2013-11-26 13:41:48 6768 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1600617
2013-11-26 13:41:48 6768 [Note] InnoDB: Starting an apply batch of