为什么以下查询似乎运行但我永远找不到文件outfile?
select *
INTO OUTFILE 'outfile.csv'
FIELDS TERMINATED by ','
LINES TERMINATED BY '\n'
from nGrams
我有MySQL 5.5,我正在运行MySQL Workbench的查询
答案 0 :(得分:0)
文件'outfile.csv'将出现在与数据库相同的目录中。在Windows上,这是C:\ ProgramData \ MySQL \ MySqlServerX.X \ db_name