This is how you could easily import csv file in your database. Upload the csv file into form and click to Submit. And you will see how fast it works.
Couple things you should know about this script:
-create a database on your server;
-create a table in database with rows amount of rows as in the csv file;
-fill the fields in form;
-don't forget which character terminated fields and lines in csv file;
-CSV file must be a UTF-8 code;
-click to submit;