I want to run a single batch command that must take mySQLfile.sql and compress it by minifying it. Any suggestions on how to get mysqldump to produce the most compressed SQL file?
It would be cool if I could type something like:
mysqldump -bla -bla bla bla > db.sql minify db.sql
I'm trying to establish:
- If the minify.exe is something I would have to write? (so it works for SQL)
- If Mysqldump has parameters that will leave out comments and any other unnecessary dump data?