由于一时手误输入了 DELETE FROM TABLE WHERE age REGEXP '\d';导致这个表的数据被删除 解决方法: 登录mysql,查看目前的binlog文件 mysql> show master status; +---------------+----------+--------------+------------------+-------------------+ | File | Position | Binlog_Do_DB | Binlog_Ignore_D…
use master go exec master..sp_MSforeachdb 'use [?]; IF (SELECT db_id(''?'')) > 4 and (SELECT DATABASEPROPERTYEX(''?'', ''Recovery'')) =''FULL'' BACKUP LOG [?] to disk = ''NUL''' WAITFOR Delay '00:10:00' exec master..sp_MSforeachdb 'use [?]; IF (SELEC…