The LOCAL capability for LOAD DATA may be disabled in the MySQL client library by default. When you connect to the database, add the option "mysql_local_infile=1" to your connect string, LOAD DATA LOCAL will be enabled.
(However, this option doesn't work if the server has also been configured to disallow LOCAL.)
Dear whoever gave me a reply,
Thank you so much for your reply. Can you please tell me exactly how I would add that option? IN fact, I don't even know what connect string is. As the name says, I am rookie.
Young