V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
KomiSans
V2EX  ›  问与答

小白关于 Mysql 的 binlog 问题

  •  
  •   KomiSans · Oct 6, 2020 · 1212 views
    This topic created in 2030 days ago, the information mentioned may be changed or developed.

    第一次想试试 binlog,直接傻了,想用 show binlog events in xxx 来查历史的 sql 语句,但没想到查出来的和自己预想的语句不一样,好像是对表什么的操作,望大神们指点一下,应该怎么用 binlog 查关于某个库的某个表的操作。 如图:0NSk80.png

    1 replies    2020-10-06 16:46:57 +08:00
    KomiSans
        1
    KomiSans  
    OP
       Oct 6, 2020
    手欠把图床里面的图给删了,hhhhhh,不过后来用 mysqlbinlog 命令还是能查出来的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3322 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:07 · PVG 21:07 · LAX 06:07 · JFK 09:07
    ♥ Do have faith in what you're doing.