Can't find the file created by outfile in MySQL

后端 未结 7 810
情歌与酒
情歌与酒 2020-12-08 00:39

I am using the following query to create a CSV file

SELECT email INTO OUTFILE \"mydata.csv\"
FIELDS TERMINATED BY \',\' OPTIONALLY ENCLOSED BY \'\"\'
LINES          


        
7条回答
  •  醉话见心
    2020-12-08 01:04

    I suspect you are looking for the file on your client machine.

    SELECT .. INTO OUTFILE writes the file on the server machine.

提交回复
热议问题