我正在尝试通过 Mysql 数据库中的文本文件插入数据并收到此错误
1148: The used command is not allowed with this MySQL version
ADOConnection._Execute(LOAD DATA LOCAL INFILE '/var/www/in2fonenew/inv/test.txt'
INTO TABLE tbl_transaction FIELDS TERMINATED BY '||' enclosed by '`..., false)
为此目的,下面提到了查询
$sql="LOAD DATA LOCAL INFILE '".$docroot."/inv/".$dbfile."' INTO TABLE
tbl_transaction FIELDS TERMINATED BY '||' enclosed by '`' LINES TERMINATED
BY '|||||' (field1,field2,field3,field4,field5,field6)";
我在这里做错了什么?