首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >WAMP Server保持脱机。未启动的MySQL服务“无法启动wampmysqld64服务-错误1067”

WAMP Server保持脱机。未启动的MySQL服务“无法启动wampmysqld64服务-错误1067”
EN

Stack Overflow用户
提问于 2015-09-11 08:56:47
回答 5查看 33.5K关注 0票数 6

我花了几个小时试图让服务器运行(这是第一次),尝试了许多在线发布的解决方案,但都没有成功。

第一次安装(Win 7 x64)时,光线保持正常(服务器离线)。如果我查看服务,开始/恢复服务仍然是绿色的:

如果我进入服务并尝试启动wampmysqld64服务,就会得到以下错误消息:

下面是事件查看器应用程序日志( WAMP mysql日志为空):

代码语言:javascript
运行
复制
Error   11/09/2015 09:04:22 MySQL   100 None Aborting
Error   11/09/2015 09:04:22 MySQL   100 None Unknown/unsupported storage engine: InnoDB
Error   11/09/2015 09:04:22 MySQL   100 None Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Error   11/09/2015 09:04:22 MySQL   100 None Plugin 'InnoDB' init function returned error.
Error   11/09/2015 09:04:22 MySQL   100 None 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!
Error   11/09/2015 09:04:22 MySQL   100 None InnoDB: space header page consists of zero bytes in data file .\ibdata1
Warning 11/09/2015 09:04:22 MySQL   100 None InnoDB: Doublewrite does not have page_no=0 of space: 0

我没有删除/删除任何文件,但由于空间限制,我确实在我的D驱动器(C上的操作系统)上安装了WAMP服务器。

EN

Stack Overflow用户

回答已采纳

发布于 2015-09-11 10:11:20

在D:驱动器上安装WAMPServer很好。

这些文件可能已经损坏,所以请尝试删除它们。

停止WAMPServer

删除这些文件,因为这是一个初始安装,它们中没有任何数据,重新启动WAMPServer应该会导致MYSQL重新创建它们。

代码语言:javascript
运行
复制
\wamp\bin\mysql\mysql5.6.17\data\ib_logfile0
\wamp\bin\mysql\mysql5.6.17\data\ib_logfile1
\wamp\bin\mysql\mysql5.6.17\data\ibdata1

现在,对于一个小bug修复:编辑\wamp\bin\mysql\mysql5.6.17\my.ini,找到节标记[wampmysqld]并将其更改为[wampmysqld64]

保存my.ini

重启WAMPServer

另外,如果内存不足,将此参数添加到my.ini文件中,[wampmysqld64]将减少对MYSQL内存的需求。MYSQL的后期版本似乎使用了大量内存(半个gig )--其中很多是MYISAM文件的table_definition_cache,这将使它变得合理,而不会影响您对MYISAM文件的使用。

代码语言:javascript
运行
复制
[wampmysqld64]
table_definition_cache = 600
票数 13
EN
查看全部 5 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32519474

复制
相关文章

相似问题

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