Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start from last position #24

Open
kvnlmr opened this issue Mar 24, 2020 · 1 comment
Open

Unable to start from last position #24

kvnlmr opened this issue Mar 24, 2020 · 1 comment

Comments

@kvnlmr
Copy link

kvnlmr commented Mar 24, 2020

I'm using this module and I have to say that so far it worked like a charm.
The only issue I have is when trying to restart from last known position:

const mysqlInstance = new MySQLEvents(connection, { binlogName: 'bin.000015', nextPosition: 18540004 });

This simply start from the beginning. 'bin.000001'. It's completely ignored.

@rmccownISoft
Copy link

I ran into similar unexpected behavior and it turned out I was using the wrong name from different docs: instead of nextPosition try binlogNextPos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants