Wamp MySQL无法启动:未知选项' - skip-locking'

时间:2013-08-01 09:31:44

标签: mysql wamp

我刚刚安装了wamp而端口80没有被使用,我修复了所有的ini和conf以及什么不是,wampmyswld无法启动,我尝试从服务手动,它也失败每次我尝试启动wamp。我猜你需要更多的信息,所以根据你的要求添加它

加入: skype完全卸载

继承了mysql日志:

2013-08-01 05:07:13 6132 [Note] Plugin 'FEDERATED' is disabled.
2013-08-01 05:07:13 6132 [Note] InnoDB: The InnoDB memory heap is disabled
2013-08-01 05:07:13 6132 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-08-01 05:07:13 6132 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-08-01 05:07:13 6132 [Note] InnoDB: Not using CPU crc32 instructions
2013-08-01 05:07:13 6132 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-08-01 05:07:13 6132 [Note] InnoDB: Completed initialization of buffer pool
2013-08-01 05:07:13 6132 [Note] InnoDB: Highest supported file format is Barracuda.
2013-08-01 05:07:13 6132 [Note] InnoDB: 128 rollback segment(s) are active.
2013-08-01 05:07:13 6132 [Note] InnoDB: Waiting for purge to start
2013-08-01 05:07:13 6132 [Note] InnoDB: 5.6.12 started; log sequence number 1625977
2013-08-01 05:07:13 6132 [ERROR] wampmysqld: unknown option '--skip-locking'
2013-08-01 05:07:13 6132 [ERROR] Aborting

2013-08-01 05:07:13 6132 [Note] Binlog end
2013-08-01 05:07:13 6132 [Note] Shutting down plugin 'partition'
2013-08-01 05:07:13 6132 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2013-08-01 05:07:13 6132 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2013-08-01 05:07:13 6132 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2013-08-01 05:07:13 6132 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2013-08-01 05:07:13 6132 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'

3 个答案:

答案 0 :(得分:10)

在MySQL 5.5中删除了

--skip-locking

只需编辑my.ini并将skip-locking替换为skip-external-locking

即可

答案 1 :(得分:2)

您的日志属于MySQL。 MySQL不是Web服务器,也不使用端口80.错误非常明显:

  

2013-08-01 05:07:13 6132 [错误] wampmysqld:未知选项'--skip-locking'

你的意思是 - skip-external-locking偶然吗?

答案 2 :(得分:0)

检查来自其他版本mysql的C:\ Windows文件夹中是否有my.ini?在那里更改选项,就可以了。如果无法执行此操作,请尝试重命名这些文件,或移至其他位置。我有这个问题而且有效。