Skip to content

Bug - docker compose parameter doesn't updated #549

Open
@davinc71998

Description

@davinc71998

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions