Archives for May 2007

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