If you would like to dump the contents of a mysql table into a csv file here is the syntax:


mysqldump --tab=<directory_for_dump> --fields-enclosed-by='"' --fields-terminated-by=',' <database_name> <table_name>

obviously,replacing anything inside the with what it describes.

Posted: May 21, 2007, 1:16 pm by Brian Radford

Respond to this post or Trackback Link

So far none to this article

  1. So far no posts

Add your own post

You must log in in order to be able to contribute.



RSS 2.0-Feed for the comments to this article.