mysql change innodb_large_prefix
I'm using Mysql 5.6.17 with WAMP Server I solved the problem by editing the my.ini file Find the category [mysqld] there add the following instructions
[mysqld]
innodb_file_format = Barracuda
innodb_large_prefix = 1
innodb_file_per_table = ON
Don't forget to save the changes and restart all services.
Between 5.6.3 and 5.7.7 (that is if you are running MySQL 5.6 or MariaDB 10.0), there are 4 steps:
- SET GLOBAL innodb_file_format=Barracuda;
- SET GLOBAL innodb_file_per_table=ON;
- ROW_FORMAT=DYNAMIC; -- or COMPRESSED (goes on end of CREATE)
- innodb_large_prefix=1
Note
SELECT * FROM information_schema.INNODB_SYS_TABLESPACES;
will provide the file_format and row_format. Some other I_S tables provide clues of file_per_table.