repositorypackage
0.0.0-20241210015700-a7c7fd77a6b6
Repository: https://github.com/dcarbone/mysql-diff.git
Documentation: pkg.go.dev
# README
mysql-diff
Little utility to help summarize one or more mysql schemas
Usage
Print JSON Summary
go build .
./mysql-diff -conn "label=srv1 addr=127.0.0.1:3306 user=root pass=great_password db=db1,label=srv2 addr=127.0.0.1:3307 user=root pass=great_password2 db=db2" summary > summary.json
You may also add the -pretty
flag to the end to produced formatted JSON.
Generate Diff
go build .
./mysql-diff -conn "label=srv1 addr=127.0.0.1:3306 user=root pass=great_password db=db1,label=srv2 addr=127.0.0.1:3307 user=root pass=great_password2 db=db2" diff