mysql占用空间太大

mysql> reset master; (清除日志文件) 

找到了my.cnf 即mysql配置文件,我们将log-bin=mysql-bin 这条注释掉即可.

# Replication Master Server (default) 

# binary logging is required for replication 

#log-bin=mysql-bin
重启下MySQL,一切OK啦

猜你喜欢

转载自xiangjie88.iteye.com/blog/2244451