I am learning MySQL and tried using a LOAD DATA clause. When I used it as below:
LOAD DATA
LOAD DATA INFILE \"text.txt\" INTO table mytable;
If the file is local to your machine use the LOCAL in your command
LOAD DATA LOCAL INFILE "text.txt" INTO table mytable;