0

I am trying to import data from a txt file to MySQL using

LOAD DATA INFILE 'C:/path/to/file.txt' INTO TABLE tbl_name

However I am getting an error

[Err] 1290 - The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

I have done some searching but can't find anything specific to this error.

Any suggestions? Thanks

puks1978
  • 3,577
  • 9
  • 43
  • 96

0 Answers0