当前位置:网站首页>The mysqlbinlog command uses
The mysqlbinlog command uses
2022-07-06 08:30:00 【wx5caecf2ed0645】
Common parameters :
--start-datetime=datetime From the binary log 1 Date time is equal to or later than datetime The event of the parameter starts reading .datetime The value is relative to the run time mysqlbinlog Local time zone on your machine . The value format should conform to DATETIME or TIMESTAMP data type .
--stop-datetime=datetime From the binary log 1 Date time is equal to or later than datetime The event of parameter starts and stops reading . About datetime For a description of the value, see --start-datetime Options . This option can help you recover in a timely manner .
--start-position=N From the binary log 1 A position is equal to N Parameter when the event starts reading .
--stop-position=N From the binary log 1 Positions equal to and greater than N Parameter when the event starts and stops reading .
--base64-output=DECODE-ROWS The row Patterns bring sql change
-d And --database The effect is the same , Specify a database name .
--offset=N,-o N Skip the former N Entries .
Be careful :
1. Do not view the currently being written binlog file
2. Do not add --force Parameters force access
3. If binlog The format is row mode , Please add -vv Parameters
Based on start / End time
mysqlbinlog --start-datetime='2018-07-10 00:00:00' --stop-datetime='2018-07-10 01:01:01' -d Library name Binary
be based on pos value
mysqlbinlog --start-position=107 --stop-position=1000 -d Library name Binary
Convert to readable text
mysqlbinlog --base64-output=DECODE-ROWS -vv -d Library name Binary
边栏推荐
- MySQL learning records 12jdbc operation transactions
- leetcode刷题 (5.28) 哈希表
- C language - bit segment
- Leetcode skimming (5.29) hash table
- pytorch训练好的模型在加载和保存过程中的问题
- vulnhub hackme: 1
- Migrate data from CSV files to tidb
- Day29-t77 & t1726-2022-02-13-don't answer by yourself
- Erc20 token agreement
- Function coritization
猜你喜欢

Roguelike游戏成破解重灾区,如何破局?
![[MySQL] log](/img/e9/1617122888c096cf6aba2bdb88f0ef.png)
[MySQL] log

sublime text没关闭其他运行就使用CTRL+b运行另外的程序问题

Unified ordering background interface product description Chinese garbled

化不掉的钟薛高,逃不出网红产品的生命周期
![Verrouillage [MySQL]](/img/ce/9f8089da60d9b3a3f92a5e4eebfc13.png)
Verrouillage [MySQL]
![[MySQL] database stored procedure and storage function clearance tutorial (full version)](/img/27/e775e03b77c7195216bc50c5cbefb4.png)
[MySQL] database stored procedure and storage function clearance tutorial (full version)

Online yaml to CSV tool

Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation

Hcip day 16
随机推荐
Rviz仿真时遇到机器人瞬间回到世界坐标原点的问题及可能原因
Wincc7.5 download and installation tutorial (win10 system)
JS native implementation shuttle box
Image fusion -- challenges, opportunities and Countermeasures
Upgrade tidb with tiup
电脑F1-F12用途
TiDB备份与恢复简介
Huawei cloud OBS file upload and download tool class
从 CSV 文件迁移数据到 TiDB
Function coritization
IoT -- 解读物联网四层架构
FairGuard游戏加固:游戏出海热潮下,游戏安全面临新挑战
[research materials] 2021 China online high growth white paper - Download attached
【MySQL】鎖
Permutation and combination function
Research and investment forecast report of citronellol industry in China (2022 Edition)
[2022 广东省赛M] 拉格朗日插值 (多元函数极值 分治NTT)
LDAP应用篇(4)Jenkins接入
升级 TiDB Operator
Remote storage access authorization