Home >Database >Mysql Tutorial >mysql问题:using expire_logs_days without log_bin crashes th_MySQL

mysql问题:using expire_logs_days without log_bin crashes th_MySQL

WBOY
WBOYOriginal
2016-06-01 13:48:01984browse

bitsCN.com
mysql问题:using expire_logs_days without log_bin crashes the server... 问题:执行 启动mysql操作,即 /etc/init.d/mysql start
 提示以下错误:using expire_logs_days without log_bin crashes the server. seereadme.debian.gz   解决:查看/etc/mysql/my.cnf发现log_bin选项被关闭,开启即可 另外
 expire_logs_days选项表示mysql二进制日志自动删除的天数。默认值为0,表示”没有自动删除“。
 设置expire_logs_days=2,则自动清理已过期两天的日志。mysql日志目录在/var/log/mysql下  bitsCN.com

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn