Communities for your favorite technologies. Explore all Collectives
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How do I import data from MS excel and insert in to MYSQL database ? Which language is easiest and fastest to do this task ?
If you can safely represent everything in a CSV format (just export from Excel) then you need only one command:
LOAD DATA INFILE '/tmp/coolfile.txt' INTO TABLE coolTable;
Add a comment
I would use the swiss army knife of data manipulation in the windows world:
MS Access
Import the Excel sheet into an Access table, and export the table over ODBC to MySQL
Not really a programming question, the fastest method I would suggest is export data from Excel to CSV-file, and then import it into MySQL using LOAD DATA INFILE command.
http://dev.mysql.com/doc/refman/5.1/en/load-data.html
In Windows, you can use phpMyAdmin's import feature. It has many options including import from Microsoft Excel!
import
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.