Hi Miguel Aguayo,
Welcome to Microsoft Q&A forum.
As I understand, you are getting Error during database migration: Need to increase the max_allowed_packet limit.
Please refer to the solutions discussed over this Stackoverflow thread for same error which might help in your case:
at this MySQL page:
https://dev.mysql.com/doc/refman/8.0/en/packet-too-large.html
Also check filenames if correct as suggested in solution here: https://dba.stackexchange.com/questions/45665/what-max-allowed-packet-is-big-enough-and-why-do-i-need-to-change-it
Let us know the outcome else we will continue to engage more on the issue.
Thanks