MySQL Forums
Forum List  »  Other Migration

Re: Export from a spreadsheet to mysql
Posted by: Peter Lavin
Date: April 06, 2007 02:20PM

To export all the tables in a database as tab-separated files do this:

mysqldump -u username -p -T /directory_name db_name

Data for each table will be stored in a file named "table_name.txt" in the "directory_name" directory. The appropriate table file can be imported into a spreadsheet programme. Some programmes, like OpenOffice Calc, require that you first change the file extension to "csv" before importing.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Export from a spreadsheet to mysql
22410
April 06, 2007 02:20PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.