Stránka 1 z 1

EchoPet MYSQL

Napsal: 19 bře 2014, 23:22
od xflemgodax
93.91.250.110:27370

Nechtěl by mi vysvětlit co má EchoPet proti mé MySQL? :D
Je to tím že v MySQL je moc tabulek nebo naopak, že EchoPet nezkousne takový název? :( :D

Spoiler: zobrazit

Kód: Vybrat vše

[19/03/2014]---[21:49:32][EchoPet] §c[SEVERE] `Pets` Table generation failed [MySQL DataBase: 147406_mysql_db].
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs
at sun.reflect.GeneratedConstructorAccessor43.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
at com.mysql.jdbc.Util.getInstance(Util.java:382)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1662)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1581)
at io.github.dsh105.echopet.libraries.bonecp.StatementHandle.executeUpdate(StatementHandle.java:497)
at io.github.dsh105.echopet.EchoPetPlugin.onEnable(EchoPetPlugin.java:184)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:389)
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439)
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375)
at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342)
at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319)
at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275)
at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175)
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424)
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)


Nastavení: :D
Spoiler: zobrazit

Kód: Vybrat vše

sql:
  overrideFile: true
  use: true
  host: localhost
  port: 3306
  database: 147406_mysql_db
  username: 147406_mysql_db
  password: <Moje =p>

Re: EchoPet MYSQL

Napsal: 19 bře 2014, 23:26
od LpBahos
Místo

Kód: Vybrat vše

host: localhost
dej

Kód: Vybrat vše

host: <nazev_serveru>.fakaheda.eu

Re: EchoPet MYSQL

Napsal: 19 bře 2014, 23:35
od xflemgodax
Prosím tě, na tento řádek se podívej.

Kód: Vybrat vše

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs

Nemusím snad být extra moudrý na to, že to má něco s do činěním s velikostí textu. Bohužel, takové dlouhé jméno dostane každá databáze. :(
Ještě někdo kdo by s tím mohl něco zvládnout? :D
PS: Zkoušel jsme i to, kdybys náhodou měl pravdu, to by pro mě byl tedy šok. Nic ve zlém, samozřejmě. :)