【问题标题】:Mysql service not starting in WAMPMysql 服务未在 WAMP 中启动
【发布时间】:2013-07-31 17:50:01
【问题描述】:

我刚刚在运行 Windows 7 的电脑中重新安装了 WAMP。当我尝试启动 WAMP 时,它是橙色而不是绿色。所以我完全按照this 教程的步骤做了。但是 WAMP 又是橙色的。 apache 没有问题,因为它在端口 80 中是正确的。然后我去了 WAMP->Mysql-> 服务,当我单击启动/恢复服务时,什么也没有发生。问题是什么?我检查了我的错误日志,我有这个

2013-07-31 19:30:21 1776 [Note] Plugin 'FEDERATED' is disabled.
2013-07-31 19:30:21 c4c 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.
2013-07-31 19:30:21 1776 [Note] InnoDB: The InnoDB memory heap is disabled
2013-07-31 19:30:21 1776 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-07-31 19:30:21 1776 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-07-31 19:30:21 1776 [Note] InnoDB: Not using CPU crc32 instructions
2013-07-31 19:30:21 1776 [Note] InnoDB: Initializing buffer pool, size = 101.0M
2013-07-31 19:30:21 1776 [Note] InnoDB: Completed initialization of buffer pool
2013-07-31 19:30:22 1776 [Note] InnoDB: Highest supported file format is Barracuda.
2013-07-31 19:30:22 1776 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*1664 pages, LSN=1625977
2013-07-31 19:30:22 1776 [Warning] InnoDB: Starting to delete and rewrite log files.
2013-07-31 19:30:22 1776 [Note] InnoDB: Setting log file .\ib_logfile101 size to 26 MB
2013-07-31 19:30:24 1776 [Note] InnoDB: Setting log file .\ib_logfile1 size to 26 MB
2013-07-31 19:30:26 1776 [Note] InnoDB: Renaming log file .\ib_logfile101 to .\ib_logfile0
2013-07-31 19:30:26 1776 [Warning] InnoDB: New log files created, LSN=1625977
2013-07-31 19:30:26 1776 [Note] InnoDB: 128 rollback segment(s) are active.
2013-07-31 19:30:26 1776 [Note] InnoDB: Waiting for purge to start
2013-07-31 19:30:26 1776 [Note] InnoDB: 5.6.12 started; log sequence number 1625977
2013-07-31 19:30:26 1776 [ERROR] wampmysqld: unknown variable 'table_cache=256'
2013-07-31 19:30:26 1776 [ERROR] Aborting

所以 WAMP 无法启动 Mysql。我还需要检查什么?

【问题讨论】:

  • 您的 my.ini 中是否有一行 table_cache=256?试试 table_open_cache:forums.mysql.com/read.php?11,580232,580392#msg-580392
  • @SarahKemp 没有table_cache=256?在我的.ini 文件中
  • 我应该把它放在代码标记中。您是否在寻找 table_cache=256table_cache=256? - 我的意思是问号是句子的一部分,而不是代码。
  • 最后我删除了最后一个版本的 WAMP 2.4 并安装了以前的 WAMP 2.2,它工作正常没有任何问题,现在是绿色的......我不知道是什么问题最新版本...

标签: mysql wamp


【解决方案1】:

尝试从 my.ini 中删除参数 innodb_additional_mem_pool_size

【讨论】:

  • @VishalKumarSahu 这是一个 4 岁的问题和答案。 MySQL 的情况在 4 年内发生了变化。我建议您提出一个问题,说明您当前的版本以及您当前的问题。
  • 好的!我猜新版本有不同的设置和选项。
猜你喜欢
  • 1970-01-01
  • 2015-10-31
  • 1970-01-01
  • 2017-03-25
  • 2012-12-13
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多