This is a Docker wrap of the Perl frontend script mysqldiff to the Perl CPAN module Mysql::Diff. It's based on the "slim" perl image (no specific version specified, but current push is using 5.28).
docker run -it --network host --rm coostendorp/mysqldiff mysqldiff -h HOST -u USER -p PASSWORD -i DB1 DB2
If your mysql runs on localhost, use docker.for.mac.localhost as the hostname
- For documentation of the cli tool: https://metacpan.org/pod/distribution/MySQL-Diff/bin/mysqldiff
- For accessing a mysql server on localhost, using 127.0.0.1 seems to work better than "localhost".