select code,gtin into OUTFILE "E:/testfile.txt" FIELDS TERMINATED BY '|'
LINES TERMINATED BY '\n'
FROM viewassigncodejpsblp where length(code) > 0
I got stuck in a problem when i run this query in mysql workbench 5.7 it shows me this
error :Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
i have changed the my.ini file by commenting out the secure-file-priv line than i ran the query
show variables like secure_file_priv
the query returned null moreover i have also restarted mysql and my computer as well but still getting the error code 1290: