Can't find the file created by outfile in MySQL

后端 未结 7 808
情歌与酒
情歌与酒 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:03

    +1 to @michael-berkowski and the answer i needed for windows was (as he stated)

    MariaDB's data directory

    to be specific, mine was in the data folder for database named "mydatabase"

    C:\Program Files\MariaDB 10.3\data\mydatabase

提交回复
热议问题