Mysql export & import database

Export

mysqldump -u<username> -p database > database.sql
1

Import

mysql -u<username> -p
use <database>;
source database.sql;
1
2
3
Last Updated: 1/3/2020, 7:47:51 AM