Skip to content

MySQL custom config not applied in MageBox (mysql-custom.cnf ignored) #5

@TuVanDev

Description

@TuVanDev

Version: MageBox v1.2.6 (2026-01-24)
Platform: macOS arm64 (Apple Silicon)

I ran into an issue with MySQL binary logs growing very large when using MageBox with mysql:8.0.

Root cause: although the docs mention support for ~/.magebox/docker/mysql-custom.cnf
(https://magebox.dev/services/database.html#mysql-configuration), the generated docker-compose.yml for the MySQL service does not mount any custom MySQL config file. As a result, mysql-custom.cnf is never loaded and custom MySQL settings (e.g. binlog control, InnoDB tuning) cannot take effect.

Because MageBox regenerates ~/.magebox/docker/docker-compose.yml on restart, it’s not possible to persistently mount a MySQL config file or disable binlogs.

This makes startup-only MySQL configuration impossible with the current setup.

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