当前位置:网站首页>MySQL view bin log and recover data
MySQL view bin log and recover data
2022-07-07 06:51:00 【Q z1997】
# see bin log library
show binary logs;

# Location
show binlog events in 'mysql-bin.000007';

see bin log
mysqlbinlog --start-position=4009 --stop-position=4183 --database=test_p -v /usr/local/mysql/log-bin/mysql-bin.000007 > /tmp/binlog_rec1.sql
recovery
mysql -u root -pDaxizi7724530! -v < /tmp/binlog_rec1.sql
边栏推荐
猜你喜欢
随机推荐
jdbc数据库连接池使用问题
Pinduoduo lost the lawsuit: "bargain for free" infringed the right to know but did not constitute fraud, and was sentenced to pay 400 yuan
剑指offer-高质量的代码
【luogu P1971】兔兔与蛋蛋游戏(二分图博弈)
精准时空行程流调系统—基于UWB超高精度定位系统
使用net core优势/为什么使用
隐马尔科夫模型(HMM)学习笔记
Answer to the first stage of the assignment of "information security management and evaluation" of the higher vocational group of the 2018 Jiangsu Vocational College skills competition
Apache ab 压力测试
C language interview to write a function to find the first public string in two strings
MYSQL----导入导出&视图&索引&执行计划
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书
Basic introduction of JWT
This article introduces you to the characteristics, purposes and basic function examples of static routing
Under what circumstances should we consider sub database and sub table
Abnova 免疫组化服务解决方案
FPGA课程:JESD204B的应用场景(干货分享)
Which foreign language periodicals are famous in geology?
Postgresql中procedure支持事务语法(实例&分析)
JWT的基础介绍








