Home > Database > Mysql Tutorial > MySQL错误:using expire_logs_days without log_bin crashes the s

MySQL错误:using expire_logs_days without log_bin crashes the s

WBOY
Release: 2016-06-07 17:21:09
Original
1279 people have browsed it

MySQL错误:using expire_logs_days without log_bin crashes the server. seereadme.debian.gz

问题:
执行 启动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下

linux

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template