07-20-2023, 09:23 AM
I am learning MySQL and tried using a `LOAD DATA` clause. When I used it as below:
LOAD DATA INFILE "text.txt" INTO table mytable;
I got the following error:
> The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
How do I tackle this error?
I have checked [another question on the same error message][1], but still can’t find a solution.
I am using MySQL 5.6
[1]:
LOAD DATA INFILE "text.txt" INTO table mytable;
I got the following error:
> The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
How do I tackle this error?
I have checked [another question on the same error message][1], but still can’t find a solution.
I am using MySQL 5.6
[1]:
[To see links please register here]