Added: 3 years ago
From: mikenku
Views: 95,487
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (105)

Sign In or Sign Up now to post a comment!
  • Hello guys, this is a great video. When i used it first time than i understand at once all method.I use this video and i did a litle notice on my blog. You find it on abwolf.com.

  • All the fields I get are NULL, why does this happend?

  • thanks for this video. Very helpful.

  • Very good this is helpful to me.

  • very cool, you are the best!!!!

  • Thanks. Very Useful. Good Luck

  • f-ing love you man....

  • is it possible to import xls straight to php without converting the file to csv?

  • is it possible that data from mysql imported to excel

  • Dear Sir, I am imorting same data from mysql but the date its in the wrong format. for ex 632525515609177000. How can i solve it

  • thanks for this

  • THANKS A LOT!!! You just save my life!

  • Its a lot easier watching you do this, than it is watching me do it. Thankfully, now its not as bad as was when I started a couple hours ago! Thanks!! Off to work!

  • Thanks great work and very helpful

  • Thanks for the video instruction. Well done. Spent several hours trying this and that until I found your video. Straightforward and effective.

  • Very helpful. Thank you!

  • genial

  • thanks for this tutorial! :)

  • I would suggest this site for generations of sql query from a file excel

    s7ntech . altervista . org/utility/s7xlstosql

  • the reason why you had the student, test1, test2.... row, is because you saved the csv file as "Gradebook_import.csv"

    The rest.. BRILJANT

  • What happens if you have commas in some of your data?

  • @ellsworthhouse94705 You see "Fields terminated by", "Fields enclosed by", and "Fields escaped by"? Excel should save csv's with quotes around every text field, so you can have as many commas as you want. Instead it only puts quotes around fields that contain commas. Try exporting as csv and look at the resulting file in notepad.

    Where Excel completely screws up is escaping double-quotes ("). It should put slash in front of them"\", but instead it puts another double quote. Use Open Office..

  • Great tutorial, the first one i've ever used without a hitch!

  • Comment removed

  • thanks will try it out later! :)

  • very helpful video....thanks

  • how much does the database weigh?

  • thanks man! When I used CSV using LOAD DATA it worked like a charm

  • Thank you, i was in trouble and you solve my problem

  • thank you thank you thank you !!! you rules!!

    8:49.... Psychological study of... hahahaha!!!

  • you don't need to check the field when you delete unless you are using the controls at the bottom of the table

  • Thanks man this tutorial was great. That last aprt about the CVS load was the trick. Thanks again.

  • awesome video bro, thanks !

  • Superb, thank you very much....

  • great great great! you r absolutely awesome! this saves me tones of work! Thanks very much!

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

  • Hello this is zaib,

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

  • 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.

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

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

  • thank you very much!!!!!!

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

  • Awesome

  • Awesome tutorial! Interesting! thank you,

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

  • Thank you!

  • thanks a lot. it works fine ....

  • thanks a lot. it works fine ....

  • 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.

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

  • 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

  • @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

  • 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

  • thanks a lot indeed

    you rock

    great awesome

    this is totally outstanding

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

  • Comment removed

  • greaaaaaaaaaaaaaaaaaaaaaaaattt­

  • thanks man, it was great :)

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

  • Top man! That was a very clear video that solved a problem I had spent hours working on, downloading software that didn't work and banging my head against the wall! Thank you!!

  • thanks man..ur the best..great tutorial..u save my ass tonight!..wew!..

  • Great tutorial! Thank you for posting it. What screen recording software did you use for this tutorial?

  • UUUFFFF buen aporte!

  • You Rock! It drove me nuts getting this working. I also realized that I had to turn off the auto_increment on my first primary field.

  • Thanks man it worked for me... :)

    But in the Import page you have to select radio button "CSV" and not "CSV with Load Data"....

  • Wow thank you thank you! You're voice is so clear ^_^

  • Gracias!!

  • thank u.......but how to Import .sql file Into Wordpress ?

  • Error

    SQL query:

    LOAD DATA INFILE '/tmp/php0PRDUI' INTO TABLE `Division1` FIELDS TERMINATED BY ',' ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\r\n' On 9.52 I keep getting this error:

    MySQL said:

    #1045 - Access denied for user 'sheppeys'@'localhost' (using password: YES)

    Could anyone help me out with this?

  • At 9.52 I cannot go any further because of error 1045. Could someone help please?

  • Thank you very much!

  • thanks very much, this helped a bunch :D

  • Thanks a lot for your contibution, I have spent hours and hours of frustated work trying to import my Excel table to MySQL, keep the great Job!. I will say "Cheersss..." with a glass of Tequila saying your name, gracias amigo. Greetings from Mexico!,

  • thanks man, it really great tutorial

  • I seriously love you!!!! I've been trying to do this all day and I was at my wits end...I thinking "what am I doing wrong??" Thank you so much for posting this video even though its from 2008...thank you! thank you! Now maybe I can get somewhere :)

  • This was very helpful. Thank You. :)

  • Excellent and easy !  Thank you!

  • Great! Thanks for taking time provide this info.

  • When you saved the csv file you had original excel file open so you renamed it to file_import.csv & then imported the original file with the field headers, hence the need to delete the first row with headers.

  • great tutorial thanks

  • Nice video but what if your data has commas in it?

  • Thank you!

  • use dbTube simple to use and no coding, configuration,...

  • what is the url of that page ?

  • Thank you very much! This saved me a huge headache ... Much appreciated. Cheers

  • Great tutorial. Thank you! You just cured my headache.

  • Use CSV with LOAD data, it took me a while to figure out why CSV was not working.

    Thanks a lot man.

  • nice thanks alot! :)

  • thank a lot

  • THANKS!

  • THANK YOU!!!! VERY HELPFULL!!!

  • If you want to import with CSV-Option, you have to list the fields you want to import, seperated with comma (",")

  • Very helpful tutorial. Thanks a lot!

  • I'm a hero at work now! Thanks!

  • THANK YOU SO MUCH

  • This helped me loads, Thanks!

  • With Mac the end of line is \r not \n like on Windows

  • thanks, great tutorial.

  • Why did I only get 1 row affected?

  • I got all the rows affected when I did it with CSV. Only 1 row affected with CSV using LOAD DATA.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more