I am trying to write the results of MySQL script to a text file using the following code in my script.
SELECT p.title, p.content, c.name FROM post p LEFT JOI
In my my.ini I only had
# Secure File Priv.
and I tried to put:
# Secure File Priv. secure-file-priv = ""
and
# Secure File Priv. secure-file-priv = NULL
without making it work.
I finally deleted the line and left alone:
secure-file-priv = ""
Working correctly.