This query:
SELECT ... INTO OUTFILE '/usr/services/001/tmp/`database4ed78d1eb0986`.`tblTemporaryReportFinishedOrders`.tmp';
Produces this error:
Error Code: 1. Can't create/write to file '/usr/services/001/tmp/`database4ed78d1eb0986`.`tblTemporaryReportFinishedOrders`.tmp' (Errcode: 2)
The /usr/services/001/tmp has 777 permissions so why does it still not work?
I am using FreeBSD OS.