2012-09-28 SQLの結果をCSVファイルで保存する mysql mysql> select * from TABLENAME into outfile "/path/to/file.csv" fields terminated by ',';