export and import db in mysql code example
Example: export database mysql
mysqldump -u [username] -p [database-you-want-to-dump] > [path-to-place-data-dump]
mysqldump -u [username] -p [database-you-want-to-dump] > [path-to-place-data-dump]