Skip to content
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

unique_together=set([('hostname', 'port')]) cause error #17

Open
nyssance opened this issue Aug 7, 2015 · 4 comments
Open

unique_together=set([('hostname', 'port')]) cause error #17

nyssance opened this issue Aug 7, 2015 · 4 comments

Comments

@nyssance
Copy link

nyssance commented Aug 7, 2015

If use mysql innaDB, and utf8_mb4, cause (1071, 'Specified key was too long; max key length is 767 bytes')

@ionelmc
Copy link
Owner

ionelmc commented Aug 7, 2015

Odd, the hostname has a max_length of 250. What port did you use? Did it had 5 digits? Does it work with 4 digits?

@nyssance
Copy link
Author

nyssance commented Aug 7, 2015

It crash when you migration/build the table. the error is throwed by MySQL. I think it not allow unique_together too long when use utf8_mb4

@ionelmc
Copy link
Owner

ionelmc commented Aug 7, 2015

What data do you have in your redisboard_server table?

Thanks,
-- Ionel Cristian Mărieș, http://blog.ionelmc.ro

On Fri, Aug 7, 2015 at 1:48 PM, NY notifications@github.com wrote:

It crash when you migration/build the table. the error is throwed by
MySQL. I think it not allow unique_together too long when use utf8_mb4


Reply to this email directly or view it on GitHub
#17 (comment)
.

@nyssance
Copy link
Author

nyssance commented Aug 9, 2015

I not save any data. because there is no table. It just crash when migraion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants