I accidentally dropped a schema without backing it up.
And now I want to use mysqlbinlog utility to perform recovery. (It seems that mysqlbinlog is a good tool). And it needs those binary log files to perform recovery.
Now I have the following confusions:
If you have the line log = /path/to/mysql.log
uncommented in my.cnf
, the queries will be in the mysql.log
. That is, answering the third question.