16 January 2018 17:23
mysqldump -h localhost -u'USER_BD' NAME_BD -p'PASS_BD' | mysql -h localhost -u'USER_BD' NAME_BD -p'PASS_BD'