当我尝试将mysql结果存储在终止的txt文件行中时
select * from users INTO OUTFILE '/var/lib/mysql-
files/users.txt'
FIELDS TERMINATED BY '|'
ENCLOSED BY '"'
LINES TERMINATED BY '\n';---> not working
结果全部放在一行 “ 1” |“ John@test.com” |“ 20” |“ John” |“ test” /“ 2” |“ omar@test.com” |“ 21” |“ Omar” |“ test2”“ 3” |“ Mytest@test.com” |“ 30” |“ Mytest” |“ test3”