import csv file to mysql -


i trying load data csv file still in excel. far statement have sql query:

load data local infile 'c:\\documents , settings\\j03299\\desktop\\tmeter.csv'  table edata  columns terminated ',' enclosed "" lines terminated '\n'  (year,month,day,mjd,xpiles,xstacks,utilites);  

it imports first row , ignores every other row until row 157 ? wonder im missing delimeter? lines terminated '\n'? data looks

2012,23,45,-0.876,3.456,768.50, 

somehow not reading end of file guess

is there other tool can use import information perhaps

you can try using mysql workbench.

or

use lines terminated ‘\r\n’


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -