Import Excel to MySQL Database


Take a Microsoft Excel Spreadsheet and import it into a MySQL Database using CSV files and PHPMyAdmin.

25 Comments

  1. foobarph says:

    whoah, i thought you’re going to create an sql statement but i was wrong. sleek move! great!

  2. zaibkhanzk says:

    Hello this is zaib,

    The video “Import Excel to MySQL Database ” is very nice and easy. Its excellent. Thanks alot.

  3. zaibkhanzk says:

    Hello this is zaib,

    The video “Import Excel to MySQL Database ” is very nice and easy. Its excellent. Thanks alot.

  4. blowtar says:

    THANK YOU SOOOOO MUCH!!!

    I was stressing out why my data wouldn’t import, I wasn’t adding the comma so my fields wouldn’t separate lol.

    Thanks for the help man seriously.

  5. bliksum58 says:

    Thanks a stack for this illustration!!!!! This has been very helpful.

  6. luxmeh says:

    thank you thank you so much..its really helpful!!

  7. ThePantrey says:

    thank you very much!!!!!!

  8. gourmet10 says:

    Thank you SOOOOO much. This is so much faster and cheaper than purchasing conversion software. Again, thank you.

  9. hisdness1 says:

    Awesome

  10. myhomeonoahu says:

    thank you !

  11. bungurdy says:

    Awesome tutorial! Interesting! thank you,

  12. keertishrimali says:

    Really great …It was very helpfull to me ….Thanks A lot

  13. N00SA says:

    Thank you!

  14. MyThunder77 says:

    thanks a lot. it works fine ….

  15. MyThunder77 says:

    thanks a lot. it works fine ….

  16. wrdeboise says:

    my excel csv file is adding a lot of extra commas at the end causing extra empty fields to be created in my db. How can I fix this? Thanks.

  17. imkb010 says:

    @chungwufeiQ
    Check out the PHP filesystem functions in the php documentation
    That will probably give you a way to go through the files in the directory and save them as .csv files automatically.
    Then connect to database using mysql_connect()
    Then open and parse the .csv files using fopen() and fgetcsv()
    Then insert each row of csv data into your table with the query. You’ll need to use a while statement
    INSERT INTO table_name SET column1_name = ‘value’ … etc

  18. LeoNazDo says:

    gradebook_import.csv should be your target ^^ nice tutorial, and thx a lot.

  19. admart3 says:

    Thanks, really helped

  20. chungwufeiQ says:

    i am trying to create a system that would automatically import excel file to mysql… do u have any how should i do it? i don’t want the user to save the excel file to csv, what i want is that the system would choose the file and make it a csv file… can you help me? thanks a lot… anyway this video really gave me a little idea and helped me a lot.. :) thanks more power

  21. luespi2006 says:

    a little mistake you uploaded the first file instead of the new one in which you added _import to the name, in that file you did ereased the headers, but you choosed the one with the headers still there

  22. luespi2006 says:

    thanks a lot indeed

    you rock

    great awesome

    this is totally outstanding

    man oh god you do rock big time!!!!!!!!!!!!!!!!!!!!!!!!

  23. amirkoklan says:

    greaaaaaaaaaaaaaaaaaaaaaaaattt

  24. fdmomtaz says:

    thanks man, it was great :)

  25. mijz08 says:

    i can’t access to cPanel how am I going to do??

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by Yahoo! Answers