julien-duponchelle / julien-duponchelle/python-mysql-replication
Breaking main loop - same user
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 690
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
when I run twice the same script, as dump_events.py, with same user/password), the main loop breaks.
Rights to this user are: GRANT SELECT, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON _._
I do not understand why ? Does anyone have trouble as describe below ?
I try to create an another user with same rights. Same result
Yves
Contributor guide
Research direction
Start with dump_events.py and the main loop, then reproduce the failure by running the same script twice with the reported MySQL user and privileges. Capture the error or traceback from the second run and trace where the loop stops. Done means repeated runs with the same credentials no longer break the main loop, with coverage for the reproduced case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, python
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100