Skip to content

Instantly share code, notes, and snippets.

@postnati
Created May 27, 2011 15:09
Show Gist options
  • Save postnati/995440 to your computer and use it in GitHub Desktop.
Save postnati/995440 to your computer and use it in GitHub Desktop.
MySQL CSV using SELECT
mysql --user=root --password='' --column-names=TRUE phineas_and_ferb -e "SELECT * from characters;" > ~/tmp/output.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment