MySQL Error 不定期更新

本文介绍了一种导致MySQL服务无法启动的原因及其解决方案:若MySQL安装目录下的bin文件夹中mysqld.exe文件大小为0KB,则可能是该文件损坏。解决方法是用相同版本MySQL安装包中的mysqld.exe替换此文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

慢慢积累遇到的问题,希望能帮助到其他人。(过于常见的就不写了)

【问题描述发生系统错误 193。* 不是有效的 Win32 应用程序

【版本】MySQL 5.7/5.6

【解决办法 在MySQL安装目录,bin文件夹下存在一个0KB的mysqld.exe文件。将其删除即可。

【来源】http://big.info/2014/01/windows-could-not-start-mysql56-service.html

以下是原文:

I have read that there might be several reasons for this error. I did some googling and nobody was mentioning my reason of getting this error so I though sharing my case and my solution could help others.

As I said, in my case the problem was with the MySQL Daemon. If you have used the default installation, you could find the daemon under “C:Program FilesMySQLMySQL Server 5.6bin”.
Note: This is for version 5.6. Might change depending on your version of installation.
Check the size of mysqld.exe file. If that is 0 bytes then you have blown the deamon as I did.
To fix this you can just copy a good mysqld.exe file from another MySQL installation's “C:Program FilesMySQLMySQL Server 5.6bin” directory. Make sure that the installation versions are the same.
Then the error message should be gone. Your MySQL should work now.
If this is not the case for you keep googling.
Hope this helps someone.
Good luck,
Serdar.





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值