当data文件显示以下相关错误:
140401 1:14:09 [Note] Plugin 'FEDERATED' is disabled.
140401 1:14:09 InnoDB: The InnoDB memory heap is disabled
140401 1:14:09 InnoDB: Mutexes and rw_locks use Windows interlocked functions
140401 1:14:09 InnoDB: Compressed tables use zlib 1.2.3
140401 1:14:09 InnoDB: Error: unable to create temporary file; errno: 2
140401 1:14:09 [ERROR] Plugin 'InnoDB' init function returned error.
140401 1:14:09 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140401 1:14:09 [ERROR] Unknown/unsupported storage engine: INNODB
140401 1:14:09 [ERROR] Aborting
请修改:my.ini的 default-storage-engine=MYISAM
140401 1:14:09 [Note] Plugin 'FEDERATED' is disabled.
140401 1:14:09 InnoDB: The InnoDB memory heap is disabled
140401 1:14:09 InnoDB: Mutexes and rw_locks use Windows interlocked functions
140401 1:14:09 InnoDB: Compressed tables use zlib 1.2.3
140401 1:14:09 InnoDB: Error: unable to create temporary file; errno: 2
140401 1:14:09 [ERROR] Plugin 'InnoDB' init function returned error.
140401 1:14:09 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140401 1:14:09 [ERROR] Unknown/unsupported storage engine: INNODB
140401 1:14:09 [ERROR] Aborting
请修改:my.ini的 default-storage-engine=MYISAM
本文记录了一次遇到的MySQL启动错误,特别是在InnoDB插件初始化过程中出现的问题。错误日志显示InnoDB无法创建临时文件,导致插件注册失败。解决方案是修改my.ini配置文件中的默认存储引擎为MYISAM。
1261

被折叠的 条评论
为什么被折叠?



