Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mac OS 9.2 to MySQL

Status
Not open for further replies.

ennok

Technical User
Sep 23, 2004
1
DE
I want to upload data from an Mac OS-excel-sheet into a mySQL-DB.
Does anyone has experiences in doing that and knows how to export data from excel?
It must be different from just saving it as csv-format as mySQL can only understand data separated by quotation-marks and comma.

Thanks for your help.
 
Open your CSV file and do a find/replace on all field separators to turn them into...
Code:
','
Then do another find/replace to change line returns
Code:
\n
into
Code:
'\n'

This will encase all of your fields for easy import into MySQL.

You might also check out the MySQL forum on Tek-Tips.

- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top