mysql 导入
mysql -u -p --default-character-set=utf8 dbase<path -h
mysql 导出
mysqldump -hlocalhost -P3306 -uroot -p --default-character-set=utf8 dbase > dbname.dump
mongo导出
mongodump -h localhost:27017 -d dbase -o path/xxx.dump
mongo导入
mongorestore -h <hostname><:port> -d dbname <path>