load data from mysql to csv