I am attempting to import a text file into a table on MySQL workbench. When I run my 'LOAD DATA INFILE' command, I get this error
Error 120- mysql server is running with the secure-file-priv option
When I looked it up, from what I understood, there's a specific directory from which I can import text files and if the file is outside of this directory, then I'll be getting this error. I figured I look up an answer online, and most people suggested that I run this command
"SHOW VARIABLES LIKE "secure_file_priv".
The problem is, whenever I attempt to run this command, my MySQL tab 'quits unexpectedly'.... wow, just wow. So now Im stuck not being able to find which directory must be used for text files. Any help would be really appreciated.