View Full Version : Bin files mysql
snaaps
02-16-2007, 04:00 PM
Can anyone tell me what ere the files in the /var/lib/mysql/hostname-bin.000xx means?
It used a lot off diskspace (total 73GB)
How do the get there, and how disabled it.
Marshall
02-16-2007, 04:27 PM
Take a look at: http://dev.mysql.com/doc/refman/5.0/en/binary-log.html
Specifically near the middle
A client that has the SUPER privilege can disable binary logging of its own statements by using a SET SQL_LOG_BIN=0 statement. See Section 13.5.3, “SET Syntax”. which I assume will disable it?
nobaloney
02-22-2007, 12:45 PM
.bin files give you a way to recreate databases. Unless you learn how to use them and offer (hopefully as a paid service) the ability to restore MySQL databases up to the last entry, you probably don't need them, and even if you do, you only need to keep them since your last restart of MySQL.
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.