Migration of wordpress database from mariadb 10.0.20 to 5.5.50

This looks like a Foreign Key issue.

When you use PHPMyAdmin to create the sql dump, try using the custom settings to disable Foreign Key checks.

tech