centos7 - 请教:CentOS 下 Mysql 无法启动, selinux 为disabled
大家讲道理
大家讲道理 2017-04-17 15:36:27
0
3
703

错误信息为:

[root@server1 ~]# cat /usr/local/mysql/var/server1.err
160916 12:17:12 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
2016-09-16 12:17:12 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-09-16 12:17:12 0 [Note] /usr/sbin/mysqld (mysqld 5.6.33-log) starting as process 14526 ...
2016-09-16 12:17:12 14526 [Note] Plugin 'FEDERATED' is disabled.
2016-09-16 12:17:12 14526 [Warning] The option innodb (skip-innodb) is deprecated and will be removed in a future release
2016-09-16 12:17:12 14526 [Note] Plugin 'InnoDB' is disabled.
2016-09-16 12:17:12 14526 [ERROR] Unknown/unsupported storage engine: InnoDB
2016-09-16 12:17:12 14526 [ERROR] Aborting

2016-09-16 12:17:12 14526 [Note] Binlog end
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'partition'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_METRICS'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_CMPMEM'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_CMP'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_LOCKS'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'INNODB_TRX'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'BLACKHOLE'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'ARCHIVE'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'MRG_MYISAM'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'MyISAM'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'MEMORY'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'CSV'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'sha256_password'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'mysql_old_password'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'mysql_native_password'
2016-09-16 12:17:12 14526 [Note] Shutting down plugin 'binlog'
2016-09-16 12:17:12 14526 [Note] /usr/sbin/mysqld: Shutdown complete

160916 12:17:12 mysqld_safe mysqld from pid file /usr/local/mysql/var/server1.pid ended

请教下这究竟是什么原因导致的?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
巴扎黑

The error message shows that the innodb engine is not enabled.

黄舟

Close innodb

黄舟

The default storage engine is changed to MyISAM in my.ini

default-storage-engine=MyISAM

Then try to start. If the startup is OK, connect the command line to mysql, and then install the innodb engine

INSTALL PLUGIN InnoDB SONAME 'ha_innodb.so';

Then modify my.ini back to innodb, then restart and it should be fine

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template