1.首先确认你日志是否启用了MySQL>showvariableslike'log_bin';
2.如果启用了,即ON那日志文件就在MySQL的安装目录的data目录下
3.怎样知道当前的日志MySQL>showmasterstatus;
4.看二进制日志文件用MySQLbinlog shell>MySQLbinlogmail-bin.000001
或者shell>MySQLbinlogmail-bin.000001|tail
1.首先确认你日志是否启用了MySQL>showvariableslike'log_bin';
2.如果启用了,即ON那日志文件就在MySQL的安装目录的data目录下
3.怎样知道当前的日志MySQL>showmasterstatus;
4.看二进制日志文件用MySQLbinlog shell>MySQLbinlogmail-bin.000001
或者shell>MySQLbinlogmail-bin.000001|tail