在使用LOAD DATA LOCAL INFILE时遇到:

ERROR 1148 (42000): The used command is not allowed with this MySQL version
解决办法:

1、启动mysql时添加--local_file=1选项;

2、在my.cnf的[mysqld]下添加local_file=1;但是这样做据说有安全问题。

posted on 2014-08-22 09:03  Namlike  阅读(195)  评论(0编辑  收藏  举报