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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.