I am learning MySQL and tried using a LOAD DATA clause. When I used it as below:
LOAD DATA INFILE \"text.txt\" INTO table mytable;
Without changing any of the configuration files..
secure_file_priv using the command posted by @vhu: SHOW VARIABLES LIKE "secure_file_priv".select * from table into outfile 'secure_file_priv_PATH/OUTPUT-FILE' ... rest of your querythis worked for my in mysql-shell on ubuntu 18.04 LTS mysql 5.7.29