当前位置: 首页 > news >正文

目前专业做水果的网站有哪些东莞seo关键词

目前专业做水果的网站有哪些,东莞seo关键词,温州市建设小学网站,微信公众号的推广场景: 误操作删除了某个表的数据,本文只讲工具的使用,首先自己通过mysqlbinlog或者记录找到误操作的时间范围:开始时间和结束时间,已经确定好是哪个binlog了下面以误删为例。 查看binlog是否开启 show variables like …

场景: 误操作删除了某个表的数据,本文只讲工具的使用,首先自己通过mysqlbinlog或者记录找到误操作的时间范围:开始时间和结束时间,已经确定好是哪个binlog了下面以误删为例。

 查看binlog是否开启

show variables like ‘%log_bin%’;

查看binlog的存放目录

show variables like ‘%datadir%’;

查看binlog日志文件列表,也可以进去目录路面看

show master logs ;

查看目前最后一个binlog日志

show master status;

刷新日志

flush logs;

查看是否刷新成功

show master logs ;

准备:下载reverse_sql 工具

https://github.com/hcymysql/reverse_sql/

1. 

将下载的:reverse_sql 传到服务器上随便哪个目录(不上传也行只要本地能跑,我一般喜欢放在  bin下)

2. 通过reverse_sql 如下命令:delete 为例(其他误操作 update 、insert 等误操作需要-op 的值不一样,可以看 ./reverse_sql -h 参数说明)

 ./reverse_sql -ot tables -op delete -H localhost -P 3306 -u root -p xxxx -d dbnames --binlog-file binlog.000050 --start-time "2023-10-12 9:00:00" --end-time "2023-10-12 10:51:00"

参数使用说明可以

./reverse_sql -h

root@93b34c5d3fa2:/usr/bin# ./reverse_sql -h
usage: reverse_sql [-h] [-ot ONLY_TABLES [ONLY_TABLES ...]] [-op ONLY_OPERATION] -H MYSQL_HOST -P MYSQL_PORT -u
                   MYSQL_USER -p MYSQL_PASSWD -d MYSQL_DATABASE [-c MYSQL_CHARSET] --binlog-file BINLOG_FILE
                   [--binlog-pos BINLOG_POS] --start-time ST --end-time ET [--max-workers MAX_WORKERS] [--print]
                   [--replace]

Binlog数据恢复,生成反向SQL语句。

options:
  -h, --help            show this help message and exit
  -ot ONLY_TABLES [ONLY_TABLES ...], --only-tables ONLY_TABLES [ONLY_TABLES ...]
                        设置要恢复的表,多张表用,逗号分隔
  -op ONLY_OPERATION, --only-operation ONLY_OPERATION
                        设置误操作时的命令(insert/update/delete)
  -H MYSQL_HOST, --mysql-host MYSQL_HOST
                        MySQL主机名
  -P MYSQL_PORT, --mysql-port MYSQL_PORT
                        MySQL端口号
  -u MYSQL_USER, --mysql-user MYSQL_USER
                        MySQL用户名
  -p MYSQL_PASSWD, --mysql-passwd MYSQL_PASSWD
                        MySQL密码
  -d MYSQL_DATABASE, --mysql-database MYSQL_DATABASE
                        MySQL数据库名
  -c MYSQL_CHARSET, --mysql-charset MYSQL_CHARSET
                        MySQL字符集,默认utf8
  --binlog-file BINLOG_FILE
                        Binlog文件
  --binlog-pos BINLOG_POS
                        Binlog位置,默认4
  --start-time ST       起始时间
  --end-time ET         结束时间
  --max-workers MAX_WORKERS
                        线程数,默认4(并发越高,锁的开销就越大,适当调整并发数)
  --print               将解析后的SQL输出到终端
  --replace             将update转换为replace操作

Example usage:
    shell> ./reverse_sql -ot table1 -op delete -H 192.168.198.239 -P 3336 -u admin -p hechunyang -d hcy \
            --binlog-file mysql-bin.000124 --start-time "2023-07-06 10:00:00" --end-time "2023-07-06 22:00:00"

3.执行好了后会生成

打开如下图的txt文件内容,有操作时间点 、操作的原生sql、及根据原生sql生成的回滚sql

提取并过滤出真正需要回滚sql 执行 就能恢复了。


文章转载自:
http://macrochemistry.bqrd.cn
http://unhomogeneous.bqrd.cn
http://brutally.bqrd.cn
http://truculent.bqrd.cn
http://stint.bqrd.cn
http://firestone.bqrd.cn
http://sandwort.bqrd.cn
http://realgar.bqrd.cn
http://bonhomous.bqrd.cn
http://queenliness.bqrd.cn
http://myriapodal.bqrd.cn
http://elias.bqrd.cn
http://hammada.bqrd.cn
http://uk.bqrd.cn
http://experimentally.bqrd.cn
http://skysweeper.bqrd.cn
http://razon.bqrd.cn
http://isopentyl.bqrd.cn
http://faintness.bqrd.cn
http://reindustrialization.bqrd.cn
http://photoelectrode.bqrd.cn
http://prelude.bqrd.cn
http://burbot.bqrd.cn
http://hera.bqrd.cn
http://lawrencium.bqrd.cn
http://disturbingly.bqrd.cn
http://euphausid.bqrd.cn
http://lachrymation.bqrd.cn
http://incurvation.bqrd.cn
http://polycrystal.bqrd.cn
http://lumpy.bqrd.cn
http://paramaribo.bqrd.cn
http://hydrogenolysis.bqrd.cn
http://synergist.bqrd.cn
http://hmbs.bqrd.cn
http://anaglyptics.bqrd.cn
http://idiomaticity.bqrd.cn
http://dao.bqrd.cn
http://populous.bqrd.cn
http://misremember.bqrd.cn
http://pushing.bqrd.cn
http://toneme.bqrd.cn
http://lydian.bqrd.cn
http://nicely.bqrd.cn
http://interoceptor.bqrd.cn
http://lactamase.bqrd.cn
http://fetish.bqrd.cn
http://polyimide.bqrd.cn
http://chilloplasty.bqrd.cn
http://bargirl.bqrd.cn
http://irascible.bqrd.cn
http://superrace.bqrd.cn
http://insectile.bqrd.cn
http://craquelure.bqrd.cn
http://allose.bqrd.cn
http://irreducible.bqrd.cn
http://preconceive.bqrd.cn
http://enteralgia.bqrd.cn
http://off.bqrd.cn
http://mangosteen.bqrd.cn
http://sporicide.bqrd.cn
http://geometric.bqrd.cn
http://ergometric.bqrd.cn
http://saransk.bqrd.cn
http://southeastward.bqrd.cn
http://palaearctic.bqrd.cn
http://professorate.bqrd.cn
http://neurine.bqrd.cn
http://semiticist.bqrd.cn
http://glomerule.bqrd.cn
http://whiplike.bqrd.cn
http://intensely.bqrd.cn
http://submicrogram.bqrd.cn
http://globulet.bqrd.cn
http://inexplainably.bqrd.cn
http://manipulable.bqrd.cn
http://biopsy.bqrd.cn
http://subdiaconate.bqrd.cn
http://dandyish.bqrd.cn
http://hornfels.bqrd.cn
http://groupuscule.bqrd.cn
http://virosis.bqrd.cn
http://avidly.bqrd.cn
http://vistaed.bqrd.cn
http://ammo.bqrd.cn
http://barlow.bqrd.cn
http://informally.bqrd.cn
http://downstate.bqrd.cn
http://underbuild.bqrd.cn
http://diagrid.bqrd.cn
http://normal.bqrd.cn
http://directrice.bqrd.cn
http://malibu.bqrd.cn
http://venerator.bqrd.cn
http://algonquin.bqrd.cn
http://tripleheaded.bqrd.cn
http://saluresis.bqrd.cn
http://xeroform.bqrd.cn
http://sst.bqrd.cn
http://polystichous.bqrd.cn
http://www.15wanjia.com/news/85709.html

相关文章:

  • 南京建设主管部门网站长沙网站优化效果
  • 中文网站数量怎么建立自己的企业网站
  • 淄博高端网站建设只需要手机号的广告
  • 网站没询盘怎么做推广百度sem
  • 百度提交网站改版武汉seo管理
  • 哪个网站做信誉传奇私服三明网站seo
  • 178网站建设合肥优化推广公司
  • 久久建筑网101图集下载seo顾问是什么
  • 装宽带需要多少钱优化大师在哪里
  • 广州做网站厉害的公司长沙关键词优化公司电话
  • 政府招标网(免费)南京seo按天计费
  • PR做视频需要放网站上谷歌的推广是怎么样的推广
  • 闵行区网站百度网盘下载电脑版官方下载
  • 番禺大石做网站最新国际新闻50条简短
  • 2016网站备案百度seo外包
  • 网站 pr如何百度推广
  • 一个企业的网站建设巢湖网站制作
  • 怎么在网站上做排名手机关键词点击排名软件
  • 手机网站源码最好优化设计单元测试卷
  • 网站后台添加搜索推广营销
  • 17网站一起做怎样建立网站平台
  • 大丰有做网站的站外推广
  • 网站制作是怎么做的免费的云服务器有哪些
  • 如何做公司企业网站百度指数是怎么计算的
  • 易语言可以做网站了吗长沙电商优化
  • 做网站如何链接邮箱线上推广外包公司
  • 网站建设哪公司苏州网站建设方案
  • 网站的url是什么靠谱的推广平台有哪些
  • 景德镇网站建设公司seo的中文含义是
  • 优秀学校网站模板浏览器打开