Skip to content

5.7 fails to initialize database when using binary logging #135

Closed
@cabernet-zerve

Description

@cabernet-zerve

If binary logging is enabled, entrypoint.sh fails to initialize a new database because server-id is not specified. Even if you provide --server-id in your command, it is not used in the following line:

mysqld --initialize-insecure=on --datadir="$DATADIR"

Should this be modified to use "$@" instead of "mysqld", or perhaps providing an arbitrary server-id value on the command line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions