-
Notifications
You must be signed in to change notification settings - Fork 109
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
Not supporting MySQL 5.5.2 and older #73
Comments
Looks like the utf8mb4 collation was added in MySQL 5.5.3 in early 2010. That's a long way back. Can you not upgrade your MySQL version? |
@chill117, I agree with you and I am considering updating my MySQL. But I didn't see any warnings or tips about what happened, and it confused me. I suggest a tip in README may help it better. Thank you all the same. |
@zhangbenber Yes, it would be nice to somehow save the next person some time either with a note in the readme about the collation or better yet a check (and warning) in the module itself if the old version (or a lack of proper collation support) is detected. It should be possible to look-up the collations which the database supports. |
Added a note to the readme. |
This library does not support MySQL 5.5.2 and older since it creates tables using
utf8mb4
, which is not supported by older versions of MySQL.I created the table by myself using
utf8_bin
, and it seems working for me. However, this conflicts with Issue #49, will you add MySQL version detecting before creating the table, or at least, add aCompatibility
section in README, and provide acollation
option for some workarounds?The text was updated successfully, but these errors were encountered: