-
Notifications
You must be signed in to change notification settings - Fork 36
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
Error creating tables (MySQL Error #1071) #7
Comments
I think I see the problem, it was my collation utf8mb4_unicode_ci makes name 1020 bytes internally. Might want to make sure collation is set with create database in config |
I'm not sure if I can help here, or you solved your problem by using shorter collation. I guess standard utf-8 should expand up to three characters so the limit would not be exceeded. |
Hi, sorry for responding to the closed issue. Here is the error messages.
The solution would be adding "ENGINE=InnoDB DEFAULT CHARSET=UTF8" to the end of the "CREATE TABLE" statements I hope this would help. |
Having trouble creating the tables (note, I'm using MariaDB fork of MySQL.)
The sitebar_link table specifically (There may be others).:
What's odd is none of the keys are that long...
MariaDB: 5.5.43 (x64)
The text was updated successfully, but these errors were encountered: