how to get sql dump from mysql code example Example: dump mysql mysqldump -u username -p database_name > data-dump.sql