I ran grant file on my user. I'm using absolute path. Mysql user have privileges to write at /tmp. I just can't locate the file. I ran updatedb and then locate aa.txt, with no result.
I'm running:
select 'aaaaaa' into outfile '/tmp/aa.txt';
Mysql responds: Query OK, 1 row affected (0.02 sec)
The second time I run the same command, it get's an error:
ERROR 1086 (HY000): File '/tmp/aauua.txt' already exists
I'm running mysql 5.5.31 on Fedora 18. Does anybody knows what could be wrong?