mysql outputFILE --secure-file-priv code example Example: show secure-file-priv in mysql by query SHOW VARIABLES LIKE "secure_file_priv";