mysql load data infile 命令导入数据报错"16:06:13 load data infile “/var/lib/mysql/test/employee.csv” into table emp fields terminated by ‘,’ ignore 1 lines Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement 0.000 sec
"
处理方法:
1、查看"secure-file-priv"指定的目录。用管理员登录连接数据库,执行命令"show variables like ‘%secure%’; "
2、将导入文件传入对应的目录,再次导入。