Skip to content

a php script to import very large csv file to Mysql database

Notifications You must be signed in to change notification settings

niravpateljoin/largeCSV2mySQL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

largeCSV2mySQL

a php script to import very large csv file to Mysql database in one minute

This script uploads a csv with 2 Million rows in 60 seconds.

Instructions :

  1. Keep this php file and Your csv file in one folder 
  2. Create a table in your mysql database to which you want to import 
  3. Open the php file from you you localhost server 
  4. Enter all the fields 
  5. click on upload button 

The fastest way to import a CSV file is to use Mysql LOAD DATA command.

For More info check my blog post http://medium.com/@sanathkumar/e6d639b790ab

About

a php script to import very large csv file to Mysql database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%