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

MysqlDataTruncation: Data truncation: Data too long for column 'inventory' at row 1 #29

Closed
SmilingTrickster opened this issue Mar 2, 2016 · 1 comment

Comments

@SmilingTrickster
Copy link

Some of the players have items with custom NBT tags in their inventory. Some of them are pretty complex. It looks like the String "version" of that inventory has exceeds the maximum length limit of the EBean Server. I'm not familiar with the Spigot EBean server utils, but I assume if you could change the column type to one that can hold more bytes?

@caoli5288
Copy link
Owner

You can set this column type to LONGTEXT manual.

ALTER TABLE playersql MODIFY COLUMN inventory longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL AFTER exp;

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

No branches or pull requests

2 participants