mysql5.6 启动报错

160624 14:41:21 mysqld_safe Starting mysqld daemon with databases from /data/3306/data
2016-06-24 14:41:22 0 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release.
2016-06-24 14:41:22 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-06-24 14:41:22 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.6.31-log) starting as process 6226 ...
2016-06-24 14:41:22 6226 [Warning] Buffered warning: Could not increase number of max_open_files to more than 1024 (request: 4810)

2016-06-24 14:41:22 6226 [Warning] Buffered warning: Changed limits: max_connections: 214 (requested 800)

2016-06-24 14:41:22 6226 [Warning] Buffered warning: Changed limits: table_open_cache: 400 (requested 2000)

2016-06-24 14:41:22 6226 [Note] Plugin 'FEDERATED' is disabled.
2016-06-24 14:41:22 2b95cdf6cdf0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2016-06-24 14:41:22 6226 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-06-24 14:41:22 6226 [Note] InnoDB: The InnoDB memory heap is disabled
2016-06-24 14:41:22 6226 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-06-24 14:41:22 6226 [Note] InnoDB: Memory barrier is not used
2016-06-24 14:41:22 6226 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-06-24 14:41:22 6226 [Note] InnoDB: Using CPU crc32 instructions
2016-06-24 14:41:22 6226 [Note] InnoDB: Initializing buffer pool, size = 32.0M
2016-06-24 14:41:22 6226 [Note] InnoDB: Completed initialization of buffer pool
2016-06-24 14:41:22 6226 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 768 pages (rounded down to MB) than specified in the .cnf file: initial 8192 pages, max 0 (relevant if non-zero) pages!
2016-06-24 14:41:22 6226 [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!
2016-06-24 14:41:22 6226 [ERROR] Plugin 'InnoDB' init function returned error.
2016-06-24 14:41:22 6226 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2016-06-24 14:41:22 6226 [ERROR] /usr/local/mysql/bin/mysqld: unknown variable 'table_cache=614'
2016-06-24 14:41:22 6226 [ERROR] Aborting

2016-06-24 14:41:22 6226 [Note] Binlog end
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'partition'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_METRICS'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_CMPMEM'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_CMP'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_LOCKS'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'INNODB_TRX'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'BLACKHOLE'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'ARCHIVE'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'MRG_MYISAM'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'MyISAM'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'MEMORY'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'CSV'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'sha256_password'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'mysql_old_password'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'mysql_native_password'
2016-06-24 14:41:22 6226 [Note] Shutting down plugin 'binlog'
2016-06-24 14:41:22 6226 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

160624 14:41:22 mysqld_safe mysqld from pid file /data/3306/mysqld.pid ended


解决方案如下:

-bash-3.2$ ls
data  my.cnf  mysql  mysql_oldboy3307.err
-bash-3.2$ cd data/
-bash-3.2$ pwd
/data/3307/data
-bash-3.2$ ls
ibdata1  ib_logfile0  ib_logfile1  mysql  performance_schema  test
-bash-3.2$ rm ib*
-bash-3.2$ ls
mysql  performance_schema  test



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值