Percona Server has extended
secure-file-priv server option. When
used with no argument, the
LOAD_FILE() function will always return
LOAD DATA INFILE and
SELECT INTO OUTFILE statements will
fail with the following error:
"The MySQL server is running with the
--secure-file-priv option so it cannot execute this statement".
LOCAL INFILE is not affected by the
--secure-file-priv option and will
still work when it’s used without an argument.
In Percona Server
secure-file-priv became an
NULL value: both disable
LOAD DATA INFILE,
SELECT INTO OUTFILE. With this change it is no longer possible to
disable security checks by omitting the option as that would take the default
.tar.gz packages. Instead,
=/) should be
For general inquiries about our open source software and database management tools, please send us your question and someone will contact you.