expire_logs_days=7 and restart the server. Keep log-bin if you have replication or want a certain flavor of backup. my.cnf file changes do not take effect until you restart mysqld.
> -----Original Message----- > From: Elim Qiu [mailto:elim....@gmail.com] > Sent: Thursday, August 02, 2012 9:56 AM > To: mysql@lists.mysql.com > Subject: manage mysql-bin.xxxxxx files on mac > > I don't really know how to use those files and so like to know how to > stop populating them. or at least control the number and size of them. > > I'm running os x 10.6.8, mysql Server version: 5.1.61-log MySQL > Community Server (GPL) > > I tried comment out the line "log-bin=mysql-bin" and those mysql- > bin.xxxxxx files in the data directory. It causes mysql server starting > failure. > > So what's advise here? Thanks > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/mysql -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql