MySQL Forums
Forum List  »  General

Re: SELECT * INTO OUTFILE doe not work on Windows
Posted by: Wei Jiang
Date: June 29, 2021 08:23AM

Yes. Each time I restarted mysql server:
mysql> SHOW VARIABLES LIKE "secure_file_priv";
+------------------+-------+
| Variable_name | Value |
+------------------+-------+
| secure_file_priv | NULL |
+------------------+-------+

+------------------+----------------------------+
| Variable_name | Value |
+------------------+----------------------------+
| secure_file_priv | D:\mysql_secure_file_priv\ |
+------------------+----------------------------+

I still get the error:
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option


mysql works on Ubuntu. Strange.

Options: ReplyQuote


Subject
Written By
Posted
Re: SELECT * INTO OUTFILE doe not work on Windows
June 29, 2021 08:23AM


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.