myreplication icon indicating copy to clipboard operation
myreplication copied to clipboard

Golang MySql binary log replication listener

Results 5 myreplication issues
Sort by recently updated
recently updated
newest added

Hello, after starting, I get the following error: goroutine 1 [running]: github.com/2tvenom/myreplication.(*packReader).readNextPackWithAdditionalLength(0xc00010e000, 0x4, 0xc00018b560, 0x0, 0x0) /2tvenom/myreplication/pack.go:86 +0x348 github.com/2tvenom/myreplication.(*eventLog).readEvent(0xc000120000, 0xc000105ee8, 0xc0001897a0, 0x0, 0x0) /2tvenom/myreplication/event_log.go:724 +0x45 github.com/2tvenom/myreplication.(*eventLog).Start(0xc000120000, 0x5540d8, 0xc0001120c0) /2tvenom/myreplication/event_log.go:640 +0x37...

Hello, When i initialize connection, read pack from buff return value 0 for handshark. which cause this error ? Thanks for help

Is there a way to get the name of the column when you are reading from an event. I've looked through the code and I can't seem to find a...

I found the [MYSQL_TYPE_VARCHAR](https://github.com/2tvenom/myreplication/blob/master/event_log.go#L303) should account for 2 byte, You can't only use the [readStringLength](https://github.com/2tvenom/myreplication/blob/master/pack.go#L291) func Sorry,My english is not good, I'm Chinese

In trying to use this library, we found it was truncating the values from the binlog and we didn't take the time to figure out why. Switched to using: https://github.com/siddontang/go-mysql...