The way I got my script to work is start of with a fresh install of flarum. I would suggest when creating the first admin account to use a different email then the one in phpbb since on import mysql will detect a conflict with the email. After flarum in successfully installed. We can proceed with the migration. I Run the script which generates a sql file that will update all the tables. Since I working on command line. I then do :
mysql -uUSER -pPASSWORD flarumDBNAME < sqlfile.sql
I would love to build an extension but sadly do not have a lot of time to invest, the script was a hack together job to get some data quickly into forum it definitely no where a plug and play but it does the job for me and I though I share it to help other people and