Content

Error 1071: Specified key was too long; max key length is 767 bytes

Login mysql as root for mysql and execute commands

# mysql -u root -p

SET GLOBAL innodb_file_format=Barracuda;
SET GLOBAL innodb_file_per_table=on;
SET GLOBAL innodb_large_prefix=on;
SET GLOBAL innodb_default_row_format = 'DYNAMIC';