尝试使用时,我收到以上错误消息:
SELECT * FROM mytable INTO OUTFILE /tmp/test.txt CHARACTER SET latin1 FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\r\n';
一个简单的选择查询工作正常:
mysql> select count(*) from mytable;
+----------+
| count(*) |
+----------+
| 1241551 |
+----------+
1 row in set (0.21 sec)
mysql>
答案 0 :(得分:1)
它表示您没有此用户的 FILE 权限。请检查。