Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Doesn't work with mysql version8 #37

@NishanthSpShetty

Description

@NishanthSpShetty

hello,

I was testing this program with by running MySQL on a docker, tried version 8.0 and above and got the following the error.

sec=where keys=[]
panic: pkt.read.seq[3]!=pkt.actual.seq[1] (errno 1835) (sqlstate HY000)

goroutine 1 [running]:
github.com/xelabs/go-mydumper/common.AssertNil(...)
        /Users/system-user/projects/repos/go-mydumper/common/common.go:50
github.com/xelabs/go-mydumper/common.dumpDatabaseSchema(0xc000060760, 0xc0001a0040, 0xc0001263c0, 0xc000018499, 0x4)
        /Users/system-user/projects/repos/go-mydumper/common/dumper.go:32 +0x2db
github.com/xelabs/go-mydumper/common.Dumper(0xc000060760, 0xc0001263c0)
        /Users/system-user/projects/repos/go-mydumper/common/dumper.go:214 +0x268
main.main()
        /Users/system-user/projects/repos/go-mydumper/cmd/mydumper/main.go:56 +0x169

When I tried using version 5.0, I was able to get rid of this error. I believe MySQL-client version may need to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions