export import mysql database code example Example: import database mysql command line mysql -u username -p new_database < data-dump.sql