ERROR 1148: The used command is not allowed with this MySQL version

后端 未结 12 1280
感动是毒
感动是毒 2020-11-27 03:46

I am trying to load data into mysql database using

LOAD DATA LOCAL
INFILE A.txt
INTO DB
LINES TERMINATED BY \'|\';

the topic of this questi

12条回答
  •  温柔的废话
    2020-11-27 04:50

    http://dev.mysql.com/doc/refman/5.6/en/load-data-local.html

    Put this in my.cnf - the [client] section should already be there (if you're not too concerned about security).

    [client]
    loose-local-infile=1
    

提交回复
热议问题