当我启动wampmysqld服务时,它给出以下错误:
Windows could not start the wampmysqld service on Local Computer.
Error 1067:The process terminated unexpectedly.
而MySQL日志显示的错误为:
2014-02-07 12:42:36 5492 [Note] Plugin 'FEDERATED' is disabled.
2014-02-07 12:42:36 5492 [Note] InnoDB: The InnoDB memory heap is disabled
2014-02-07 12:42:36 5492 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-02-07 12:42:36 5492 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-02-07 12:42:36 5492 [Note] InnoDB: Not using CPU crc32 instructions
2014-02-07 12:42:36 174c InnoDB: Error: unable to create temporary file; errno: 2
2014-02-07 12:42:36 5492 [ERROR] Plugin 'InnoDB' init function returned error.
2014-02-07 12:42:36 5492 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2014-02-07 12:42:36 5492 [ERROR] Unknown/unsupported storage engine: InnoDB
2014-02-07 12:42:36 5492 [ERROR] Aborting
发布于 2014-02-07 19:28:18
您的环境中是否设置了TMP=
。
当它丢失时,它有时会导致问题。
修复:
或者在您的环境中进行设置
或
在你的my.ini中设置这个
tmpdir=c:/wamp/tmp
或者您选择的任何文件夹来保存MySQL的临时文件。
https://stackoverflow.com/questions/21621972
复制相似问题