Categorygithub.com/dcarbone/mysql-diff
modulepackage
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

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
MapString is a flag implementation used to provide key=value semantics multiple times, or parse multiple keys out of a comma-separated string of "k1=v1,k2=v2[,]" Thanks, Frank.
No description provided by the author