MySQL Forums
Forum List  »  MySQL for Excel

How to upload data from Excel to Mysql automatic?
Posted by: Li XU
Date: October 02, 2013 02:45AM

Good morning everyone,

I am thingking about a method to upload data from excel to mysql automatic.
The data in excel match more than just one table in mysql.

For exemple, in excel we have 'firstname', 'lastnama', 'IBM'.
In mysql, 'firstname' and 'lastname' matchs the table "person", however, 'IBM' match the table "company".

So what I want is: I give you a file excel with data 'firstname','lastnama','IBM'.
and we have to upload these automatic in mysql,also link the table "person" and "company" by setting the "foreign key". All of this process have to be automated.

Up to now, I only know we can write a script to realize it. But is there anyone who did this before? Or do you have any other propose?

Thank you very much for your attention.

Best wishes,
Li

Options: ReplyQuote


Subject
Views
Written By
Posted
How to upload data from Excel to Mysql automatic?
3057
October 02, 2013 02:45AM


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.