MariaDB to MySQL migration issues


I’ve followed the below guide and managed to get to the point where I need to import the database back into MySQL but getting the below error:

Referencing column ‘benefit_id’ and referenced column ‘id’ in foreign key constraint ‘products_benefits_benefit_id_foreign’ are incompatible

MariaDB 10.3.38 to MySQL 8.

I’m stuck with this error and need some help to resolve it. Only option I have is to reinstall MariaDB to revert back to the previous state. Any help welcome.