How to import simple spreadsheet into MySQL database?

1285 pts.
Tags:
Linux databases
MySQL
MySQL Community Edition
MySQL Database
I have a simple spreadsheet (only 2 columns) that I need imported into a MySQL database. I can convert the spreadsheet into whatever format I need to (comma delimited), but I need the MySQL commands that will import it. Does anybody know how to do this?

Software/Hardware used:
mysql, linux

Answer Wiki

Thanks. We'll let you know when a new response is added.

You could use the LOAD DATA statement.

Alternatively, you could use the mysqlimport client.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Ingram87
    Yes, that's what I'm looking for. Thanks
    1,285 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: