从几天前开始,我的 Windows 机器上的 MySQL 服务器没有成功关闭自己。我在 MySQL 错误日志中发现了这些行的多个实例:
InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.
我有很多可用空间,服务器安装了几个月,版本是Windows XP SP3上的5.1.22-rc-community-log,并且我只使用一个Windows帐户来创建和执行MySQL服务。
按照 Greg 的回答,我发现ProcessExplorer
有另一个 MySQL 服务以不同的名称运行。我杀了它,一切都运行良好。