无法仅使用myisam启动mysqld

时间:2013-10-04 14:40:21

标签: mysql

我在mac os lion中有Mysql 5.6但是当我尝试启动没有innodb的服务器时,即使我已将默认存储引擎设置为myisam,它也不会让我失望。根据{{​​3}},这应该是可以实现的。我不需要innodb,它需要很多内存(> 400mb)和CPU负载。我试过启动mysqld,mysql.server,launchctl。我都使用了配置文件和命令行参数。

我的my.cnf文件

[mysqld]
#skip-innodb
default-storage-engine=myisam
innodb=off

#query-cache-type=0
#max_user_connections=2

#innodb_buffer_pool_size = 2M
#sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

这是输出:

2013-10-04 16:44:49 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2013-10-04 16:44:49 8041 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/var/mysql/ is case insensitive
2013-10-04 16:44:49 8041 [Note] Plugin 'FEDERATED' is disabled.
2013-10-04 16:44:49 8041 [Note] Plugin 'InnoDB' is disabled.
2013-10-04 16:44:49 8041 [ERROR] Unknown/unsupported storage engine: InnoDB
2013-10-04 16:44:49 8041 [ERROR] Aborting

2013-10-04 16:44:49 8041 [Note] Binlog end
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'partition'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_METRICS'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_CMPMEM'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_CMP'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_LOCKS'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'INNODB_TRX'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'BLACKHOLE'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'ARCHIVE'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'MRG_MYISAM'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'MyISAM'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'MEMORY'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'CSV'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'sha256_password'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'mysql_old_password'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'mysql_native_password'
2013-10-04 16:44:49 8041 [Note] Shutting down plugin 'binlog'
2013-10-04 16:44:49 8041 [Note] mysqld: Shutdown complete

0 个答案:

没有答案