문제

Why would the following query appear to run but I never can find the file outfile?

      select * 
      INTO OUTFILE 'outfile.csv'
      FIELDS TERMINATED by ','
      LINES TERMINATED BY '\n'
      from nGrams

I have MySQL 5.5 and I am running my queries from MySQL Workbench

도움이 되었습니까?

해결책

The file 'outfile.csv' will appear in the same directory as your database. On windows this is C:\ProgramData\MySQL\MySqlServerX.X\db_name

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top