julien-duponchelle / julien-duponchelle/python-mysql-replication

Bug - docker compose parameter doesn't updated

Open
#549 1 comment 0 reactions 1 assignee Claimed by @davinc71998 View on GitHub
Dominant language
Python
Stars
2.4k
Forks
690
PR merge metrics
No merged PRs in 30d

Description

## Issue Summary
In python-mysql-replication (version 1.0.0~ ) need to execute binlog schema parsing. To achieve this, it seems that I need to set the `binlog_row_metadata` option to `FULL` in my Docker Compose configuration.

```
x-mysql: &mysql
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: true
command: >
mysqld
--log-bin=mysql-bin.log
--server-id 1
--binlog-format=row
--gtid_mode=on
--enforce-gtid-consistency=on

x-mariadb: &mariadb
environment:
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 1
command: >
--log-bin=master-bin
--server-id=1
--default-authentication-plugin=mysql_native_password
--binlog-format=row

```
## Solution
set the `binlog_row_metadata` option to `FULL` in my Docker Compose configuration.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.