Re: Error code 1290 - secure-file-priv not working
Quote
The output of SHOW VARIABLES LIKE 'secure_file_priv'; is "C:\mySQL"
Quote
LOAD DATA INFILE 'C:\mySQL\Uploads\Import Addresses to mySQL.csv'
What if you put your file in C:\MySQL rather than C:\MySQL\Uploads ?
or set your secure_file_priv to C:\MySQL\Uploads
A word to the wise. Sometimes MySQL treats \ character as escape rather than separator. That means you might need C:\\MySQL\\Uploads
MySQL will happily use / as separator
That means you can use C:/MySQL/Uploads
Good luck,
Barry.
Subject
Written By
Posted
Re: Error code 1290 - secure-file-priv not working
May 15, 2024 08:04PM
Sorry, only registered users may post in this forum.
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.