04, 我试图将csv文件加载到数据库中,但它给出了错误
#1148 - The used command is not allowed with this MySQL version
我的代码加载文件
LOAD DATA LOCAL INFILE '//home//triveni//Documents//test.csv'
INTO TABLE 1981_5
FIELDS TERMINATED BY ','
ENCLOSED BY ''
LINES TERMINATED BY '\n'
(question,answer1,answer2,answer3,answer4,answer5,answer6,rightAnswer,Marks)
并且文件中的数据是
Whartsdf,dsfds,sdfdsf,sdfdsf,sdfds,sdf,fsdf,2,2
任何一个请帮助我,我已经尝试了所有可能性更改了权限,仅尝试LOAD DATA INFILE
但我得到了解决方案......
它在Windows操作系统中运行良好 这个操作系统有问题????