MySQL Forums
Forum List  »  General

Re: SELECT * INTO OUTFILE doe not work on Windows
Posted by: Peter Brawley
Date: June 29, 2021 09:10AM

Quote

mysql> SHOW VARIABLES LIKE "secure_file_priv";
+------------------+-------+
| Variable_name | Value |
+------------------+-------+
| secure_file_priv | NULL |
+------------------+-------+

The default setting.

Quote

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

You've set it to D:\mysql_secure_file_priv\, is there such a folder?

For example, on this laltop, the [mysqld] section of my.ini has this setting ...

secure_file_priv="c:/in"

... I can import from and export to that folder.

Options: ReplyQuote


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


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.