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
- Create .env:
DATABASE_URL="mysql://user:password@127.0.0.1:3306/mydb"
- Run:
- 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.