MySQL Forums
Forum List  »  General

Re: Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
Posted by: JK Heydt
Date: August 24, 2020 06:02AM

LOAD DATA LOCAL INFILE 'C:\ProgramData\MySQL\MySQL Server 8.0\Uploads\trn_cd.tsv' INTO TABLE a_trn_cde
IGNORE 1 ROWS;

I also changed SHOW GLOBAL VARIABLES LIKE 'local_infile' and 'local_infile', 'ON'

Now the error is:


Error Code: 3948. Loading local data is disabled; this must be enabled on both the client and server sides

Options: ReplyQuote


Subject
Written By
Posted
Re: Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
August 24, 2020 06:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.