First check if the database is limited by the size of the index
SHOW variables like 'innodb_large_prefix'
If the query value is OFF, execute the following command
SET GLOBAL INNODB_LARGE_PREFIX = ON;
After execution, you have to check whether the current innodb_file_format engine format type is BARRACUDA
implement
SHOW variables like 'innodb_file_format'
If not, it needs to be modified
SET GLOBAL innodb_file_format = BARRACUDA;
OK, you can try to import data!