首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >wampmysqld服务未启动

wampmysqld服务未启动
EN

Stack Overflow用户
提问于 2014-02-07 15:40:07
回答 1查看 8.6K关注 0票数 2

当我启动wampmysqld服务时,它给出以下错误:

代码语言:javascript
运行
复制
Windows could not start the wampmysqld service on Local Computer.
Error 1067:The process terminated unexpectedly.

而MySQL日志显示的错误为:

代码语言:javascript
运行
复制
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
EN

回答 1

Stack Overflow用户

发布于 2014-02-07 19:28:18

您的环境中是否设置了TMP=

当它丢失时,它有时会导致问题。

修复:

或者在您的环境中进行设置

在你的my.ini中设置这个

代码语言:javascript
运行
复制
tmpdir=c:/wamp/tmp

或者您选择的任何文件夹来保存MySQL的临时文件。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21621972

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档