mysqldbcopy from one server to other
mysqldump -h source.machine db_name  |  mysql -h target.machine


Add -u and -p as appropriate to both.

If you need to change the db name, add the suitable arg to mysqldump to avoid including DROP DATABASE and CREATE DATABASE; plus add the new db_name on the mysql command.

If you need to copy "routines", more args are needed.