Quantcast
Channel: MySQL Forums - MySQL Workbench
Viewing all articles
Browse latest Browse all 3739

Error: 2068: importing local file error of restriction/ 1290: --secure-file-priv (no replies)

$
0
0
LOAD DATA LOCAL INFILE 'my file location'
INTO TABLE customer FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS;

If I use the upload file location this error occurs.
Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

and if I put any other location this
Error Code: 2068. LOAD DATA LOCAL INFILE file request rejected due to restrictions on access. 0.000 sec

Viewing all articles
Browse latest Browse all 3739

Latest Images

Trending Articles



Latest Images