我剛剛在運行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?' - 我的意思是問號是句子的一部分,而不是代碼。 –