how to create a dump file in mysql code example Example: dump mysql mysqldump -u username -p database_name > data-dump.sql