Answer the question
In order to leave comments, you need to log in
Error 1290 or how to edit my.cnf in Ubuntu?
I have Ubuntu 16.04.1 and installed MySql 5.7.16.
The problem is this: I want to insert a text file located in $HOME. I use the command:
LOAD DATA LOCAL INFILE 'blabla' INTO TABLE bla;
and it gives me error 1290:
ERROR 1290 (HY000): The MySQL server is running
with the --secure-file-priv option so it cannot execute this statement.
I used:
SHOW VARIABLES LIKE 'secure_file_priv. I found the path, but I can't upload files there.
What other options are there to resolve the issue?
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question