I tried exporting from MariaDB 10.x with /opt/lampp/bin/mysqldump -u root --all-databases --skip-opt --compatible=ansi > backup.sql then importing
/opt/lampp/bin/mysqldump -u root --all-databases --skip-opt --compatible=ansi > backup.sql