recovery with binlogs?
if you want to finish your database migration online， replication is necessary. 

The common practice for database migration is building replication between your old mysql and new mysql(as slave). When the slave catch the master, switch your business to the mysql(slave). 

if you just want to use binlog , you need to lock table during your migrating the database, or you will loss some data.