Hello all,

I had a problem last night where my Master server filled up the /var/
partition and stopped logging to the bin log.  This caused all sorts of
havok on my slaves and replication. My bad for not watching this but now
what I'd like to do is move where MySQL writes the binlog to.  Currently
it's in the default /var/lib/mysql but I'd like to move it where I
actually have the database files which is on a much larger partition.

>From what I've read I can put --log-bin=/data/hostname-bin into the
my.cnf and restart the mysql server.  

Questions:

1) do I have to move the old binlogs to the /data/ prior to restarting
mysql
2) should I move the binlog index as well?
3) will moving the binlog location throw the slaves off?

Thanks,

Jeff



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to