我啓動MySql服務器時出現問題。 日誌說:無法啓動MySql服務器
InnoDB: Error in opening ./ibdata1
111220 16:16:43 InnoDB: Operating system error number 11 in a file operation.
InnoDB: Error number 11 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.0/en/operating-system-error-codes.html
InnoDB: Could not open or create data files.
InnoDB: If you tried to add new data files, and it failed here,
InnoDB: you should now edit innodb_data_file_path in my.cnf back
InnoDB: to what it was, and remove the new ibdata files InnoDB created
InnoDB: in this failed attempt. InnoDB only wrote those files full of
InnoDB: zeros, but did not yet use them in any way. But be careful: do not
InnoDB: remove old data files which contain your precious data!
/usr/libexec/mysqld: Disk is full writing './mysql-bin.000028' (Errcode: 28). Waiting for someone to free space... Retry
in 60 secs
後,我檢查磁盤 - 它說,它的全部。 因此,在搜索解決方案後 - 我發現我需要清除二進制日誌。 但是,爲了清除 - 我需要啓動MySql服務器,但磁盤上的所有空間都由二進制日誌佔用,所以我無法啓動... 也不建議簡單地刪除二進制日誌。 所以,我有點卡住了。 無法運行mysql來清除日誌,並且無法清除日誌,因爲無法運行服務器。 有什麼幫助嗎? :)
編輯:該磁盤只包含日誌,沒有別的。
有沒有別的可以暫時移動somwhere其他磁盤上? – 2011-12-20 16:43:16