mysql.createBinlogStream is not a function

Open
#823 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
mysql, nodejs, typescript
Domain
database

Research direction

Start with examples/binlog-watcher.js and inspect the binlog API exported by the mysql2 package. Compare the example and documentation with the available API to determine why mysql.createBinlogStream is missing. Done when the example and documented binlog support agree with the package behavior.

Written by the indexing model from the issue text.

Description

https://github.com/sidorares/node-mysql2/blob/master/examples/binlog-watcher.js

The document said that mysql2 support for binlog protocol , and then I tested the exmaple above but got the error : mysql.createBinlogStream is not a function .

Dominant language
TypeScript
Stars
4.4k
Forks
680
Avg merge
9h 7m
Merged PRs (30d)
59

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sidorares/node-mysql2

All issues in sidorares/node-mysql2

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.