Comments - INTO OUTFILE error 2
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Correct in assuming its the directory not found, verified by
The
SELECT INTO OUTFILEimplementation doesn't create directories. I'd assume that '/tmp/VoipBilling/CDR' exists but '/tmp/VoipBilling-' doesn't exist.The date components of your query, the $ environment variables, aren't set in the current shell in which mysql is executed which is why they are empty.