pop icon indicating copy to clipboard operation
pop copied to clipboard

fix DumpSchema for MySQL and CockroachDB

Open alnr opened this issue 1 year ago • 0 comments

mysqldump would previously try to connect through a Unix socket if the host (-h) flag was given as localhost. This change forces a TCP connection. Connecting through a Unix socket is still supported.

cockroach sql would previously always connect on the default port. This change uses the actual DSN information to dump the schema. I've also removed the useless comments from the output.

alnr avatar Feb 20 '24 14:02 alnr