Skip to content

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

Closed

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.

Activity

  1. jakwinkler commented on Feb 23, 2026

    @jakwinkler
    Contributor

    @TuVanDev I'm pickup in the issues one by one iin next 2 weeks, stay tuned ;-)

  2. added a commit that references this issue on Mar 14, 2026
    f1775cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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