【发布时间】:2014-06-14 03:53:48
【问题描述】:
当我启动 WampServer 2.4 时,MySQL 实例没有启动。
前一天还好好的,第二天就出问题了。
我已尝试重新启动所有服务,在 my.ini 中包含“innodb_force_recovery = 1”,并且我也在 my.ini 中删除了 skip-innodb。
我收到以下错误:
2014-04-28 16:06:51 4408 [Note] Plugin 'FEDERATED' is disabled.
2014-04-28 16:06:51 13dc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2014-04-28 16:06:51 4408 [Note] InnoDB: The InnoDB memory heap is disabled
2014-04-28 16:06:51 4408 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-04-28 16:06:51 4408 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-04-28 16:06:51 4408 [Note] InnoDB: Not using CPU crc32 instructions
2014-04-28 16:06:51 4408 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2014-04-28 16:06:51 4408 [Note] InnoDB: Completed initialization of buffer pool
2014-04-28 16:06:51 13dc InnoDB: Operating system error number 3 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
2014-04-28 16:06:51 13dc InnoDB: File name C:\mysql\data\ibdata1
2014-04-28 16:06:51 13dc InnoDB: File operation call: 'create' returned OS error 103.
2014-04-28 16:06:51 13dc InnoDB: Cannot continue operation.
我已经搜索了操作系统错误号 3 和操作系统错误号 103,但我找不到问题的答案。
我得到了 ibdata1 文件,但由于我的数据库中有数据,我不想删除它并让 WampServer 重新创建它。
无法登录phpMyAdmin,但可以访问Localhost。
另外,我很确定我没有更改文件夹结构中的任何内容。
【问题讨论】:
-
我想你误会了。我什么都没做。有一天我关闭了程序,它工作正常,第二天它没有启动,同时我还没有碰过电脑。
-
Looks like this, perhaps, 目录的文件权限是否已更改
-
我没有更改权限。我也只是仔细检查了一下,看起来是一样的。所有文件夹都具有相同的权限。编辑:另外,这不是同一个错误。
-
这个
C:\mysql\data\ibdata1不是 WAMPServer MySQL InnoDB 数据库的位置。看起来你已经安装了另一个 MySQL 或者你安装的东西带有它自己的 MySQL 服务器。检查您是否有多个 MySQL 服务在运行,wampservers 称为wampmysql。 -
我在 WampServer 之前安装了一个 MySQL 服务器,之前没有问题。现在,我有
wampmysqld和MySQL1作为运行服务。
标签: php mysql wamp innodb wampserver