简体   繁体   English

Windows上的Mysql InnoDB“错误32”

[英]Mysql InnoDB “error 32” on Windows

since fews days Mysql server on Windows does not success on closing itself. 几天以来,Windows上的Mysql服务器在关闭自身时没有成功。 In the mysql error log I find multiple instance of these lines: 在mysql错误日志中,我找到了这些行的多个实例:

InnoDB: Operating system error number 32 in a file operation. InnoDB:文件操作中的操作系统错误号32。 InnoDB: The error means that another program is using InnoDB's files. InnoDB:错误意味着另一个程序正在使用InnoDB的文件。 InnoDB: This might be a backup or antivirus software or another instance InnoDB: of MySQL. InnoDB:这可能是备份或防病毒软件或另一个InnoDB:MySQL实例。 Please close it to get rid of this error. 请关闭它以摆脱这个错误。

I have plenty of free space, the server is installed for months, the version is 5.1.22-rc-community-log on Windows XP SP3, and I have used only one Windows account to create and execute Mysql service. 我有足够的可用空间,服务器安装了几个月,版本是Windows XP SP3上的5.1.22-rc-community-log,我只使用一个Windows帐户来创建和执行Mysql服务。

Thanks Cedric 谢谢塞德里克

edit : you are both rigth, and ProcessExplorer help me to find another Mysql service with a special name. 编辑:你们都很严谨,ProcessExplorer帮助我找到另一个带有特殊名称的Mysql服务。 I kill it and all run fine. 我杀了它,一切都运行良好。 Thanks a lot! 非常感谢!

If the file is in use by another program then Process Explorer could help you track down which one has it open. 如果该文件正由另一个程序使用,则Process Explorer可以帮助您跟踪哪个文件打开。 I assume you've checked you only have one copy of MySQL running. 我假设你已经检查过你只有一个MySQL运行副本。

Sounds like a conflict. 听起来像是冲突。 Make sure to stop the mysqld service and then double-check if it's really not running anymore, then restart the service. 确保停止mysqld服务,然后仔细检查它是否真的不再运行,然后重新启动服务。 Also, when it's back up, make sure to run checks on your tables and see if there is any damage. 此外,当它备份时,请确保对您的桌子进行检查并查看是否有任何损坏。

My assumption is based on the operating system error codes in the MySQL docs. 我的假设是基于MySQL文档中的操作系统错误代码

You can follow these steps: 您可以按照以下步骤操作:

  1. Open TaskManager 打开TaskManager
  2. Kill the mysqld.exe process. 杀死mysqld.exe进程。
  3. cd E:\\apps\\db\\mysql-5.5.25-win32\\bin
  4. Run: mysqld --install MySQL 运行: mysqld --install MySQL
  5. Run: mysqladmin -u root start 运行: mysqladmin -u root start

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM