我刚刚在运行Windows 7的电脑上重新安装了WAMP。当我尝试启动WAMP时,它是橙色而不是绿色。所以我完成了this教程的步骤。但是WAMP又是橙色的。 Apache没有问题,因为它在80端口是正确的。然后我去了WAMP-> Mysql-> Service,当我点击启动/恢复服务时,没有任何反应。问题是什么?我检查了我的错误日志,我有这个Mysql服务无法启动WAMP
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:http://forums.mysql.com/read.php?11,580232,580392#msg-580392 –
@SarahKemp没有table_cache = 256?在my.ini文件中 – dali1985
我应该把它放在代码标记中。你是否在寻找'table_cache = 256'或'table_cache = 256?' - 我的意思是问号是句子的一部分,而不是代码。 –