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