-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The wp_eo_venuemeta table is not created because of exceeded index size limit #404
Comments
After investigation it turned out that
The reason why everything works fine for MySQL 5.7.17 version is probably the fact, that since 5.7.7 default value of It seems that WordPress handles this case by limiting the index prefix length of string fields to 191 characters (191 chars * 4 bytes/char = 764 bytes < 767 bytes) - see here. WordPress supports this setup, so I would say that Event Organiser could handle it exactly the same. |
Thanks for reporting this @marcin-kruk and your subsequent investigation. This shall be fixed in the next patch update. |
…x-size-limit [#404] Handle 767 byte index size limit in MySQL
Installing Event Organiser when using MySQL 5.6.35 (see below for more details) results in
wp_eo_venuemeta
database table not being created.Test environment:
Steps to reproduce:
Plugin installation ends successfully:
but activating plugin fails with message:
As a result a venue can be created but it's fields cannot be saved.
This problem can be reproduced with clean, default installation of WordPress on MySQL 5.6.35, but possibly it also affects other 5.5 and 5.6 versions.
I confirmed it to work as expected on 5.7.17.
The text was updated successfully, but these errors were encountered: