2016-03-08 45 views
0

我花了幾個小時試圖在xampp中運行mysql,但它仍然無法正常工作。在論壇上嘗試了一些其他的答案,但沒有成功。希望任何人都能幫助解決這個問題。MySQL意外關機;

XAMPP:

23:36:06 [mysql] Error: MySQL shutdown unexpectedly. 
23:36:06 [mysql] This may be due to a blocked port, missing dependencies, 
23:36:06 [mysql] improper privileges, a crash, or a shutdown by another method. 
23:36:06 [mysql] Press the Logs button to view error logs and check 
23:36:06 [mysql] the Windows Event Viewer for more clues 
23:36:06 [mysql] If you need more help, copy and post this 
23:36:06 [mysql] entire log window on the forums 

mysql_error.log

2016-03-08 23:36:05 1aa0 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. 
160308 23:36:05 [Note] InnoDB: Using mutexes to ref count buffer pool pages 
160308 23:36:05 [Note] InnoDB: The InnoDB memory heap is disabled 
160308 23:36:05 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 
160308 23:36:05 [Note] InnoDB: Memory barrier is not used 
160308 23:36:05 [Note] InnoDB: Compressed tables use zlib 1.2.3 
160308 23:36:05 [Note] InnoDB: Not using CPU crc32 instructions 
160308 23:36:05 [Note] InnoDB: Initializing buffer pool, size = 16.0M 
160308 23:36:05 [Note] InnoDB: Completed initialization of buffer pool 
160308 23:36:05 [Note] InnoDB: Highest supported file format is Barracuda. 
160308 23:36:06 [Note] InnoDB: 128 rollback segment(s) are active. 
160308 23:36:06 [Note] InnoDB: Waiting for purge to start 
160308 23:36:06 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1665234 
160308 23:36:06 [Note] Plugin 'FEEDBACK' is disabled. 
160308 23:36:06 [Note] Server socket created on IP: '::'. 
+0

看看這個 [回覆](http://stackoverflow.com/a/18162264/4464410)。這可能是同樣的問題。 – Peter

+0

@Peter謝謝,但不幸的是..已經試過沒有成功 – APRZ

回答

0

@APRZ我不使用XAMPP ... Mayby安裝Apache,從二進制代碼PHP和MySQL的Windows我是總是這樣做,它的工作非常出色。

+0

最奇怪的是,它完美的作品。直到昨天.. – APRZ

+0

嗯,有時候會發生......從現在開始做備份你的數據庫:) – Peter

0

我通過在其他電腦上重新安裝xampp,使用這些數據文件並從實時版本導入數據庫來解決此問題。現在它工作正常。

我失去了本地數據,但對我來說並不是必需的。