Skip to content

Instantly share code, notes, and snippets.

@rgo
Created March 20, 2009 11:22
Show Gist options
  • Save rgo/82325 to your computer and use it in GitHub Desktop.
Save rgo/82325 to your computer and use it in GitHub Desktop.
MySQL to CSV
# Mysql to csv
mysqldump -u XXX -p -t <table> --tab=tables --tables users --fields-enclosed-by=\" --fields-terminated-by=, --where="<where condition here[optional]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment