栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

mysql5.6误操作,致使mysql服务启动失败

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

mysql5.6误操作,致使mysql服务启动失败

2021-12-08 19:47:57 3748 [Note] Plugin 'FEDERATED' is disabled.
2021-12-08 19:47:57 3748 [Warning] option 'innodb-buffer-pool-size': signed value 50 adjusted to 5242880
2021-12-08 19:47:57 3748 [Note] InnoDB: Using atomics to ref count buffer pool pages
2021-12-08 19:47:57 3748 [Note] InnoDB: The InnoDB memory heap is disabled
2021-12-08 19:47:57 3748 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-12-08 19:47:57 3748 [Note] InnoDB: Memory barrier is not used
2021-12-08 19:47:57 3748 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-12-08 19:47:57 3748 [Note] InnoDB: Using Linux native AIO
2021-12-08 19:47:57 3748 [Note] InnoDB: Using CPU crc32 instructions
2021-12-08 19:47:57 3748 [Note] InnoDB: Initializing buffer pool, size = 5.0M
2021-12-08 19:47:57 3748 [Note] InnoDB: Completed initialization of buffer pool
2021-12-08 19:47:57 3748 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 0 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
2021-12-08 19:47:57 3748 [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!
2021-12-08 19:47:57 3748 [ERROR] Plugin 'InnoDB' init function returned error.
2021-12-08 19:47:57 3748 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-12-08 19:47:57 3748 [ERROR] Unknown/unsupported storage engine: InnoDB
2021-12-08 19:47:57 3748 [ERROR] Aborting

2021-12-08 19:47:57 3748 [Note] Binlog end
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'partition'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_METRICS'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2021-12-08 19:47:57 3748 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'

#添加/etc/my.cnf中下面配置重新启动mysql

[mysqld]
default-storage-engine=MYISAM
default-tmp-storage-engine=MYISAM


default_storage_engine 表示永久表(permanent tables)的默认存储引擎。
default_tmp_storage_engine 表示临时表的默认存储引擎。
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/644248.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号