SkinsRestorer / SkinsRestorerX

SkinsRestorer development repository

Home Page:https://skinsrestorer.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MYSQL: Data too long for column 'Skin'

xknat opened this issue · comments

== DEV Notes ==
We will increase varchar to a possible byte lengt that will not negatie impact the skins command.
If we allow more lengt, that could increase the bytes we send over bungee...

since we now allow unlimited skin lengt, we did not update mysql charachter limit. causing this issue below:

[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'Skin' at row 1
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at com.mysql.jdbc.MysqlIO.checkErrorPacket(Unknown Source)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at com.mysql.jdbc.MysqlIO.checkErrorPacket(Unknown Source)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at com.mysql.jdbc.MysqlIO.sendCommand(Unknown Source)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(Unknown Source)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at com.mysql.jdbc.ConnectionImpl.execSQL(Unknown Source)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at com.mysql.jdbc.PreparedStatement.executeInternal(Unknown Source)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at com.mysql.jdbc.PreparedStatement.execute(Unknown Source)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at net.skinsrestorer.shared.storage.MySQL.execute(MySQL.java:120)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at net.skinsrestorer.shared.storage.SkinStorage.setSkinName(SkinStorage.java:346)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at net.skinsrestorer.bungee.commands.SkinCommand.setSkin(SkinCommand.java:284)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at net.skinsrestorer.bungee.commands.SkinCommand.lambda$onSkinSetOther$2(SkinCommand.java:193)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at net.md_5.bungee.scheduler.BungeeTask.run(Unknown Source)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[00:00:01] [SkinsRestorer Pool Thread #418/ERROR]:     at java.base/java.lang.Thread.run(Thread.java:831)
[00:00:01] [SkinsRestorer Pool Thread #418/WARN]: [SkinsRestorer] MySQL error: Data truncation: Data too long for column 'Skin' at row 1
ezoic increase your site revenue