mysql問題:usingexpire_logs_dayswithoutlog_bincrashesth_MySQL
來源:懂視網(wǎng)
責(zé)編:小采
時(shí)間:2020-11-09 18:05:15
mysql問題:usingexpire_logs_dayswithoutlog_bincrashesth_MySQL
mysql問題:usingexpire_logs_dayswithoutlog_bincrashesth_MySQL:bitsCN.com mysql問題:using expire_logs_days without log_bin crashes the server... 問題:執(zhí)行 啟動(dòng)mysql操作,即 /etc/init.d/mysql start 提示以下錯(cuò)誤:using expire_logs_days without log_bin crash
導(dǎo)讀mysql問題:usingexpire_logs_dayswithoutlog_bincrashesth_MySQL:bitsCN.com mysql問題:using expire_logs_days without log_bin crashes the server... 問題:執(zhí)行 啟動(dòng)mysql操作,即 /etc/init.d/mysql start 提示以下錯(cuò)誤:using expire_logs_days without log_bin crash

bitsCN.com
mysql問題:using expire_logs_days without log_bin crashes the server... 問題:執(zhí)行 啟動(dòng)mysql操作,即 /etc/init.d/mysql start
提示以下錯(cuò)誤:using expire_logs_days without log_bin crashes the server. seereadme.debian.gz 解決:查看/etc/mysql/my.cnf發(fā)現(xiàn)log_bin選項(xiàng)被關(guān)閉,開啟即可 另外
expire_logs_days選項(xiàng)表示mysql二進(jìn)制日志自動(dòng)刪除的天數(shù)。默認(rèn)值為0,表示”沒有自動(dòng)刪除“。
設(shè)置expire_logs_days=2,則自動(dòng)清理已過期兩天的日志。mysql日志目錄在/var/log/mysql下 bitsCN.com
聲明:本網(wǎng)頁(yè)內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問題請(qǐng)及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
mysql問題:usingexpire_logs_dayswithoutlog_bincrashesth_MySQL
mysql問題:usingexpire_logs_dayswithoutlog_bincrashesth_MySQL:bitsCN.com mysql問題:using expire_logs_days without log_bin crashes the server... 問題:執(zhí)行 啟動(dòng)mysql操作,即 /etc/init.d/mysql start 提示以下錯(cuò)誤:using expire_logs_days without log_bin crash