2016-03-23 132 views
2

好吧,我到處尋找解決方案,並沒有一個工作。昨天,我的XAMPP工作得很好。今天,我試圖啓動我的MySQL服務,它不起作用。讓我更具體:這是XAMPP日誌:XAMPP在Windows MYSQL將啓動,然後突然停止,但APACHE工作正常

Attempting to start MySQL app... 
9:54:00 AM [mysql]  Status change detected: running 
9:54:01 AM [mysql]  Status change detected: stopped 
9:54:01 AM [mysql]  Error: MySQL shutdown unexpectedly. 
9:54:01 AM [mysql]  This may be due to a blocked port, missing dependencies, 
9:54:01 AM [mysql]  improper privileges, a crash, or a shutdown by another >method. 
9:54:01 AM [mysql]  Press the Logs button to view error logs and check 
9:54:01 AM [mysql]  the Windows Event Viewer for more clues 
9:54:01 AM [mysql]  If you need more help, copy and post this 
9:54:01 AM [mysql]  entire log window on the forum 

這是錯誤日誌:

016-03-23 09:54:00 1d04 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. 
160323 9:54:00 [Note] InnoDB: Using mutexes to ref count buffer pool pages 
160323 9:54:00 [Note] InnoDB: The InnoDB memory heap is disabled 
160323 9:54:00 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 
160323 9:54:00 [Note] InnoDB: Memory barrier is not used 
160323 9:54:00 [Note] InnoDB: Compressed tables use zlib 1.2.3 
160323 9:54:00 [Note] InnoDB: Not using CPU crc32 instructions 
160323 9:54:00 [Note] InnoDB: Initializing buffer pool, size = 16.0M 
160323 9:54:00 [Note] InnoDB: Completed initialization of buffer pool 
160323 9:54:00 [Note] InnoDB: Highest supported file format is Barracuda. 
160323 9:54:00 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 2110930 in the ib_logfiles! 
160323 9:54:00 [Note] InnoDB: Database was not shutdown normally! 
160323 9:54:00 [Note] InnoDB: Starting crash recovery. 
160323 9:54:00 [Note] InnoDB: Reading tablespace information from the .ibd files... 
160323 9:54:00 [Note] InnoDB: Restoring possible half-written data pages 
160323 9:54:00 [Note] InnoDB: from the doublewrite buffer... 
160323 9:54:01 [Note] InnoDB: 128 rollback segment(s) are active. 
160323 9:54:01 [Note] InnoDB: Waiting for purge to start 
160323 9:54:01 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 2110930 
160323 9:54:01 [Note] Plugin 'FEEDBACK' is disabled. 
160323 9:54:01 [Note] Server socket created on IP: '::'. 

Apache的工作,並順便說一句運行。我試過的東西:

刪除ibdata1文件。 更改my.ini中的端口。 Skype未運行。 停止萬維網發佈服務。

回答

0

好吧,我想出了自己。所以我查看了Windows事件查看器,發現一些錯誤來自MySQL。我點擊最近的一個,發現了這一點。

mysqld.exe:表作爲墜毀,最後(自動?)修復失敗

我更換了所有數據庫文件被標記爲 '\ MySQL的\分貝。':db.frm,分貝。 MYD和db.MYI(將這些複製到桌面以防萬一)和備份中的。中提琴它再次運作。所有的數據都在那裏,即使是我記得昨天插入的數據。