Question: how to export mysql table into csv?
Answer: Start by opening the MySQL shell, then switch to the database you want to export. Enter the following statement: SELECT * FROM myTable INTO OUTFILE '\tmp\myExportFile. csv' FIELDS ENCLOSED BY '"' TERMINATED BY ';' ESCAPED BY '"' LINES TERMINATED BY '\r\n';