sign in
|
add example
|
see also:
mysqlbinlog
utility for processing binary log files
[
package
|
man 1
|
homepage
]
examples
configs
questions
[
new example
]
copy
17
0
mysqlbinlog binlog.000001 | mysql -u root -p # DANGER!!
mysql
mysqlbinlog
source
|
details
|
copy
7
0
mysqlbinlog binlog.0000003
mysqlbinlog
source
|
details
|
copy
7
0
mysqlbinlog binlog.000001 > /tmp/statements.sql
mysqlbinlog
source
|
details
|
copy
6
0
mysqlbinlog --start-datetime="2005-12-25 11:25:56" binlog.000003
mysqlbinlog
source
|
details
|
copy
6
0
mysqlbinlog binlog.[0-9]* | mysql -u root -p
mysql
mysqlbinlog
source
|
details
|
copy
5
0
mysqlbinlog -vv log_file
mysqlbinlog
source
|
details
|
copy
4
0
mysqlbinlog -v --base64-output=DECODE-ROWS log_file
mysqlbinlog
source
|
details
|
copy
4
0
mysqlbinlog --hexdump master-bin.000001
mysqlbinlog
source
|
details
|
copy
3
0
mysqlbinlog log_file
mysqlbinlog
source
|
details
|
copy
3
0
mysqlbinlog binlog.000001 binlog.000002 | mysql -u root -p
mysql
mysqlbinlog
source
|
details
|
copy
2
0
mysqlbinlog -v log_file
mysqlbinlog
source
|
details
|
copy
2
0
mysqlbinlog binlog.000001 > tmpfile
mysqlbinlog
source
|
details
|
copy
2
0
mysqlbinlog binlog.000002 >> /tmp/statements.sql
mysqlbinlog
source
|
details
|
copy
2
0
mysqlbinlog --database=db2
mysqlbinlog
source
|
details
|
copy
2
0
mysqlbinlog --database=test
mysqlbinlog
source
|
details
|
copy
1
0
mysqlbinlog binlog.000002 | mysql -u root -p # DANGER!!
mysql
mysqlbinlog
source
|
details
|
copy
1
0
mysqlbinlog binlog.000001 | mysql -u root -p
mysql
mysqlbinlog
source
|
details
|
copy
0
1
queries have been logged to update the cache tables:
mysqlbinlog mysql-bin.000099 | grep -ci 'update cache'
find in mysql binary logs how many update queries were executed;
binlog,
binary
log,
update
cache,
mysqlbinlog
5 months ago
ShahidMahmud
3 |
copy
0
0
byte count for queries which do NOT contain the 'UPDATE cache' line
mysqlbinlog mysql-bin.000099 | grep -iv 'update cache' | wc -c
binlog,
mysqlbinlog
5 months ago
ShahidMahmud
3 |
[
new config
]
[
ask question
]