Solved Errors when trying to make a column in Database

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

xdprojosh1

Member
May 31, 2017
23
0
0
25
I just started learning about sql and stuff and I'm trying to make a column in the database and this is the error i get

code_language.skript:
java.sql.SQLException: Column count doesn't match value count at row 1
       at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
       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 com.w00tmast3r.skquery.elements.effects.EffSQLUpdate.execute(EffSQLUpdate.java:32
       at ch.njol.skript.lang.Effect.run(Effect.java:54)
       at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)
       at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)
       at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
       at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:152)
       at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:112)
       at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
       at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
       at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
       at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:298)
       at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157)
       at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144)
       at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54)
       at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231)
       at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148)
       at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814)
       at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
       at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
       at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
       at java.lang.Thread.run(Unknown Source)
@HiiqhFive I know you're good at SQL so please if you know how to fix this, tell me.
[doublepost=1496542827,1496530392][/doublepost]Solved.
 
Status
Not open for further replies.