Skip to content

dbmate dump fails with mysqldump: unknown variable 'ssl=false' (MySQL 9.6 / Homebrew) #737

@glassfox

Description

@glassfox

Description

Running dbmate dump against MySQL fails because mysqldump rejects an argument that dbmate appears to be passing: ssl=false.

This happens with a Homebrew-installed MySQL client where mysqldump no longer recognizes ssl=false as a valid variable.

  • Version: dbmate 2.29.3
  • Database: MySQL 9.6.0
  • Operating System: macOS 26.2 (arm64, Homebrew)

Steps To Reproduce

  1. Create .env:
DATABASE_URL="mysql://user:[email protected]:3306/mydb"
  1. Run:
dbmate dump
  1. Observe the error:
Error: mysqldump: [ERROR] unknown variable 'ssl=false'.

Additional information:

mysqldump --version

mysqldump  Ver 9.6.0 for macos26.2 on arm64 (Homebrew)

Expected Behavior

dbmate dump should successfully generate a database dump.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions