2013-04-11 35 views
1

在我的Moodle數據庫中,每次選擇mdl_certificate表時,MySQL服務器都會關閉。我認爲這可能是PHPMyAdmin的一個問題,但我安裝了MySQL Workbench,並且仍然發生。選擇一個表正在關閉我的MySQL服務器(錯誤2013)

所以我試了控制檯。問題依然存在。我有兩個打印:

Using other tables, everything is ok.

The lost of connection

我從來沒有見過這個。我該如何解決它?

謝謝!

UPDATE: 這是身邊的時候,日誌錯誤被發現:

130411 8:51:20 [Note] Plugin 'FEDERATED' is disabled. 
130411 8:51:20 InnoDB: The InnoDB memory heap is disabled 
130411 8:51:20 InnoDB: Mutexes and rw_locks use Windows interlocked functions 
130411 8:51:20 InnoDB: Compressed tables use zlib 1.2.3 
130411 8:51:20 InnoDB: Initializing buffer pool, size = 128.0M 
130411 8:51:20 InnoDB: Completed initialization of buffer pool 
130411 8:51:20 InnoDB: highest supported file format is Barracuda. 
InnoDB: The log sequence number in ibdata files does not match 
InnoDB: the log sequence number in the ib_logfiles! 
130411 8:51:20 InnoDB: Database was not shut down normally! 
InnoDB: Starting crash recovery. 
InnoDB: Reading tablespace information from the .ibd files... 
130411 8:51:20 InnoDB: Operating system error number 1392 in a file operation. 
InnoDB: Some operating system error numbers are described at 
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html 
InnoDB: File name .\prestashopprod 
InnoDB: File operation call: 'readdir_next_file'. 
InnoDB: Error: os_file_readdir_next_file() returned -1 in 
InnoDB: directory .\prestashopprod 
InnoDB: Crash recovery may have failed for some .ibd files! 
InnoDB: Restoring possible half-written data pages from the doublewrite 
InnoDB: buffer... 
InnoDB: Last MySQL binlog file position 0 4793, file name .\mysql-bin.000062 
130411 8:51:33 InnoDB: Waiting for the background threads to start 
130411 8:51:34 InnoDB: 1.1.8 started; log sequence number 795429719 
130411 8:51:34 [Note] Recovering after a crash using mysql-bin 
130411 8:51:34 [Note] Starting crash recovery... 
130411 8:51:34 [Note] Crash recovery finished. 
130411 8:51:34 [Note] Event Scheduler: Loaded 0 events 
130411 8:51:34 [Note] wampmysqld: ready for connections. 
Version: '5.5.20-log' socket: '' port: 3306 MySQL Community Server (GPL) 
+0

你可以把你的mdl_certificate表的模式嗎? – 2013-04-11 12:49:21

+0

我不行。即使我試圖抓取服務器關閉的列。 – 2013-04-11 13:40:01

回答

0

的解決辦法是降表,並重新創建它們。幸運的是,他們是空的。

相關問題