后续:Wampserver图标未完全变绿,mysql服务未启动?
我有wampserver,但wampmysqld
进程并不是突然启动的。我在命令行上尝试了mysqld.exe --console
,得到了以下消息:
D:wampbinmysqlmysql5.5.8bin>mysqld.exe --console
130721 11:33:00 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use Windows interlocked functions
InnoDB: Compressed tables use zlib 1.2.3
130721 11:33:00 InnoDB: Initializing buffer pool, size = 128.0M
130721 11:33:00 InnoDB: Completed initialization of buffer pool
130721 11:33:00 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.
现在,我如何找出哪个程序也在使用InnoDB的文件?我已经关闭并重新启动了许多次服务,还关闭并重新开始了计算机。我还删除了mysql的/data
文件夹中的所有平面文件,因此它现在只包括其他文件夹。
尝试Process Explorer
有没有想过哪个程序打开了特定的文件或目录?现在你可以知道了。Process Explorer向您显示有关的信息哪些句柄和DLL进程已经打开或加载。
一种方法是从这里下载并安装Process Explorer,然后运行它,并使用它的搜索字符串功能来查看哪些正在运行的进程具有文件句柄。