阿里云服务器mysql莫名丢失_MySQL5.6 突然死掉 阿里云端的 服务器上搭建的

这篇博客记录了阿里云服务器上MySQL 5.6.24突然无法启动的问题,出现错误提示为'TIMESTAMP with implicit DEFAULT value is deprecated'以及找不到'mysql.plugin'表。错误日志显示InnoDB初始化失败,可能由于系统表空间损坏导致。博主建议运行mysql_upgrade来解决这个问题。
摘要由CSDN通过智能技术生成

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

2017-02-28 12:59:55 0 [Note] ./bin/mysqld (mysqld 5.6.24-log) starting as process 24005 ...

2017-02-28 12:59:55 24005 [Note] Plugin 'FEDERATED' is disabled.

./bin/mysqld: Table 'mysql.plugin' doesn't exist

2017-02-28 12:59:55 24005 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

2017-02-28 12:59:55 24005 [Note] InnoDB: Using atomics to ref count buffer pool pages

2017-02-28 12:59:55 24005 [Note] InnoDB: The InnoDB memory heap is disabled

2017-02-28 12:59:55 24005 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins

2017-02-28 12:59:55 24005 [Note] InnoDB: Memory barrier is not used

2017-02-28 12:59:55 24005 [Note] InnoDB: Compressed tables use zlib 1.2.3

2017-02-28 12:59:55 24005 [Note] InnoDB: Using CPU crc32 instructions

2017-02-28 12:59:55 24005 [Note] InnoDB: Initializing buffer pool, size = 128.0M

2017-02-28 12:59:55 24005 [Note] InnoDB: Completed initialization of buffer pool

2017-02-28 12:59:55 24005 [Note] InnoDB: Restoring page 0 of tablespace 0

2017-02-28 12:59:55 24005 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0

2017-02-28 12:59:55 24005 [ERROR] InnoDB: space header page consists of zero bytes in data file ./ibdata1

2017-02-28 12:59:55 24005 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!

2017-02-28 12:59:55 24005 [ERROR] Plugin 'InnoDB' init function returned error.

2017-02-28 12:59:55 24005 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

2017-02-28 12:59:55 24005 [ERROR] Unknown/unsupported storage engine: InnoDB

2017-02-28 12:59:55 24005 [ERROR] Aborting

2017-02-28 12:59:55 24005 [Note] Binlog end

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'partition'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'BLACKHOLE'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'ARCHIVE'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_SYS_TABLES'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_FT_CONFIG'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_FT_DELETED'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_METRICS'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_CMPMEM'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_CMP_RESET'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_CMP'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_LOCKS'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'INNODB_TRX'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'MyISAM'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'CSV'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'MRG_MYISAM'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'MEMORY'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'sha256_password'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'mysql_old_password'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'mysql_native_password'

2017-02-28 12:59:55 24005 [Note] Shutting down plugin 'binlog'

2017-02-28 12:59:55 24005 [Note] ./bin/mysqld: Shutdown complete

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值