Code Monkey home page Code Monkey logo

mysqldba's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mysqldba's Issues

mysqldba rbr2sbr 执行报错

[root@mysql data]# mysqlbinlog -v --base64-output=DECODE-ROWS mysql-bin.000008 | mysqldba rbr2sbr
rbr2sbr called
/!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1/;
/!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0/;
DELIMITER /!/;

...........(忽略)

#180914 16:21:07 server id 3 end_log_pos 3750 CRC32 0x2b72e221 Xid = 218
COMMIT/!/;
SET @@SESSION.GTID_NEXT= 'AUTOMATIC' /* added by mysqlbinlog / /!*/;
DELIMITER ;

End of log file

/!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE/;
/!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0/;
panic: EOF

goroutine 1 [running]:
github.com/kevinbin/mysqldba/cmd.ifErrWithPanic(0x8bee00, 0xc42003c040)
/root/go/src/github.com/kevinbin/mysqldba/cmd/root.go:120 +0x4a
github.com/kevinbin/mysqldba/cmd.rbrToSbr()
/root/go/src/github.com/kevinbin/mysqldba/cmd/rbr2sbr.go:67 +0x268
github.com/kevinbin/mysqldba/cmd.glob..func3(0x8dde80, 0x900570, 0x0, 0x0)
/root/go/src/github.com/kevinbin/mysqldba/cmd/rbr2sbr.go:41 +0x6c
github.com/spf13/cobra.(*Command).execute(0x8dde80, 0x900570, 0x0, 0x0, 0x8dde80, 0x900570)
/root/go/src/github.com/spf13/cobra/command.go:766 +0x2c1
github.com/spf13/cobra.(*Command).ExecuteC(0x8de340, 0x1, 0x747ba4, 0x1)
/root/go/src/github.com/spf13/cobra/command.go:852 +0x334
github.com/spf13/cobra.(*Command).Execute(0x8de340, 0x0, 0x6a6eb2)
/root/go/src/github.com/spf13/cobra/command.go:800 +0x2b
github.com/kevinbin/mysqldba/cmd.Execute()
/root/go/src/github.com/kevinbin/mysqldba/cmd/root.go:68 +0x31
main.main()
/root/go/src/github.com/kevinbin/mysqldba/main.go:28 +0x20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.