[MySQL]問題處理-mysql transaction log異常

有關資料庫的討論, 都可以在這發表哦~~
回覆文章
頭像
tim
文章: 1380
註冊時間: 2008年 11月 26日, 00:49

[MySQL]問題處理-mysql transaction log異常

文章 tim »

http://sikotec.wordpress.com/2008/02/16 ... inary-log/
http://www.heiqu.com/show-63238-1.html

若是誤砍了 mysql-bin.0000xx (最後一個, 目前正在寫使用的), 重起 mysql 時, 在 error log 中會發生 "mysql I/O error reading the header from the binary log", 主要是因為無法生成 mysql-bin.0000xx 的 mysql transaction log, 解決方式是將 index file 砍掉重起 mysql 就會生成新的, 會從 mysql-bin.000001 開始寫起, 並且會生成新的 mysql-bin.index .
多多留言, 整理文章, 把經驗累積下來.....
回覆文章