mysql is running with secure file priv code example
Example 1: show secure-file-priv in mysql by query
SHOW VARIABLES LIKE "secure_file_priv";
Example 2: ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
SHOW VARIABLES LIKE "secure_file_priv";
Select ... From ... INTO OUTFILE ...
Example 3: Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
LOAD DATA LOCAL INFILE ...