VPS侦探论坛

 找回密码
 注册
查看: 7930|回复: 1

军哥,lnmp 7 无法关闭MYSQL二进制日志

[复制链接]
发表于 2011-5-15 21:42:05 | 显示全部楼层 |阅读模式

我注释掉/etc/my.cnf 的log-bin=mysql-bin、binlog_format=mixed 后,提示



110515 14:35:54 mysqld_safe mysqld from pid file /usr/local/mysql/var/xxx.com.pid ended
110515 14:37:25 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110515 14:37:25 [ERROR] You need to use --log-bin to make --binlog-format work.
110515 14:37:25 [ERROR] Aborting
110515 14:37:25 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete


然后启动MYSQL失败,取消掉注释,马上就能起来了?

请问我如何才能关掉这个二进制日志
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-5-15 21:51:49 | 显示全部楼层
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-13 09:24 , Processed in 0.025309 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表