MariaDB import external dump error

Nextcloud version : 12.0.2
Operating system and version : Debian Strech 8.9 (yunohost 2.7.2)

I’m migrating my Nextcloud form a FreeBSD jail to a Yunohost. but when i import the database dump with MariaDB, i have got this error :

ERROR 1071 (42000) at line 164 : Specified key was too long; max key length is 767 bytes

Line 164 is :

CREATE TABLE oc_addressbooks (

Any idea ?

Same MariaDB Version and Settings?

Same version but for settings i don’t know, how can i see/set them ?