Skip to content

Troubleshooting

MySQL Import: Key too long

MySQL schema import fails like this:

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

Ensure to follow the database setup and enable innodb_large_prefix in your database server configuration.