mysql export table data code example
Example 1: export database mysql
mysqldump -u [username] -p [database-you-want-to-dump] > [path-to-place-data-dump]
Example 2: export mysql table to file
mysqldump db_name tbl_name;
mysqldump -u [username] -p [database-you-want-to-dump] > [path-to-place-data-dump]
mysqldump db_name tbl_name;