Reputation: 579
I get above error message when try to use:
SELECT * FROM mytable INTO OUTFILE /tmp/test.txt CHARACTER SET latin1 FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\r\n';
A simple select query work fine:
mysql> select count(*) from mytable;
+----------+
| count(*) |
+----------+
| 1241551 |
+----------+
1 row in set (0.21 sec)
mysql>
Upvotes: 1
Views: 382
Reputation: 18459
It signifies you don't have FILE privileges for this user. Please check.
Upvotes: 1