MySQL服务器正在使用--secure-file-priv选项运行,因此它无法执行该语句
create table country(CountryId int,CountryName varchar(34));
LOAD DATA INFILE 'C:\Users\vikash.kumar1\Documents\country.csv'
INTO TABLE country
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS
create table country(CountryId int,CountryName varchar(34));
LOAD DATA INFILE 'C:\Users\vikash.kumar1\Documents\country.csv'
INTO TABLE country
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS