MySQL에서 CSV로 출력하기

select * into outfile 'out.csv'
         fields terminated by ','
         lines terminated by '\n'
from table_a;