mysql有关问题:using expire_logs_days without log_bin crashes the server.

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下 

来自东子的博客

mysql有关问题:using expire_logs_days without log_bin crashes the server.

相关文章:

你感兴趣的文章:

标签云: