Open
Description
v1.11.0
code :
syncer := replication.NewBinlogSyncer(cfg)
nextPosition := syncer.GetNextPosition()
fmt.Println("Current binlog:", nextPosition)
result :
Current binlog: (, 0)
I want to get mysql current position ,so I find this GetNextPosition() method ,but it return (,0).
I don't know this method means?
it does not to connect mysql for getting lately position?
if I wan to get current position of mysql , how to get it ?
Metadata
Metadata
Assignees
Labels
No labels