SQL-CSV a simple python script that writes all table data to a csv file Edit the file and fill your DB credentials run from bash python toCsv.py TABLE_NAME a file will be generated in the script directory called file.csv open with excel / import