Last active
May 28, 2020 06:09
-
-
Save hoyangtsai/5ec9adc89400fc432c956f4d9250b760 to your computer and use it in GitHub Desktop.
mysql snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Output a file of query result with formatted table from a sql file | |
mysql -u$user -p$password -h$ip $table_name --table < query.sql > output.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment