php - SQL Buddy , mySQL Error for LOAD DATA LOCAL INFILE -


i trying import csv file mysql database. query giving error. query :

load data local infile ‘/last.csv’ table punjab fields terminated ‘,’ enclosed ‘”‘ lines terminated ‘\r\n’ (newpoll, blockcode, halqa, pollnumber, pollstation, sex, area); 

and error

you have error in sql syntax; check manual corresponds mysql server version right syntax use near '‘/last.csv’ table punjab fields terminated ‘,’ enclosed ‘�' @ line 1 

any ideas ?? thanks

you have used http://www.whereismyballot.com ;) way, shouldn't have quoted field names


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -