com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Invalid default value for 'last_migration'

GitHub | FranciscoContreras | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    DB Out of date

    GitHub | 6 months ago | FranciscoContreras
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Invalid default value for 'last_migration'
  2. 0

    Failed to initialize pool: Access denied

    GitHub | 3 months ago | Eufranio
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Can't DROP 'UUID'; check that column/key exists
  3. 0

    [Dev][H5][Priority 1] The server does not start.

    GitHub | 12 months ago | gajet5
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'l2jgs.characters' doesn't exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Once again MySQL connection issue with new version

    GitHub | 10 months ago | c0mput3
    one.lindegaard.MobHunting.storage.DataStoreException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: REFERENCES command denied to user 'mcadmin'@'localhost' for table 'mh_Players'
  6. 0

    SQL does not work with EchoPet!

    GitHub | 4 years ago | DubstepCraig
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

  1. Kialandei 1 times, last 4 months ago
  2. jshakil 1 times, last 5 months ago
  3. mortalman7 1 times, last 8 months ago
  4. DoktorDoener666 1 times, last 2 months ago
  5. Hronom 3 times, last 3 months ago
24 more registered users
71 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException

    Invalid default value for 'last_migration'

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_101]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[?:1.8.0_101]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.8.0_101]
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)[?:1.8.0_101]
    4 frames
  3. MySQL jdbc
    StatementImpl.executeUpdate
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)[patched_1.10.2.jar:git-Paper-885]
    2. com.mysql.jdbc.Util.getInstance(Util.java:387)[patched_1.10.2.jar:git-Paper-885]
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:941)[patched_1.10.2.jar:git-Paper-885]
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3870)[patched_1.10.2.jar:git-Paper-885]
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3806)[patched_1.10.2.jar:git-Paper-885]
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2470)[patched_1.10.2.jar:git-Paper-885]
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2617)[patched_1.10.2.jar:git-Paper-885]
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2546)[patched_1.10.2.jar:git-Paper-885]
    9. com.mysql.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1541)[patched_1.10.2.jar:git-Paper-885]
    10. com.mysql.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2605)[patched_1.10.2.jar:git-Paper-885]
    11. com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1469)[patched_1.10.2.jar:git-Paper-885]
    11 frames
  4. HikariCP-java6
    HikariProxyStatement.executeUpdate
    1. com.zaxxer.hikari.pool.ProxyStatement.executeUpdate(ProxyStatement.java:120)[CivModCore-1.5.02.jar:?]
    2. com.zaxxer.hikari.pool.HikariProxyStatement.executeUpdate(HikariProxyStatement.java)[CivModCore-1.5.02.jar:?]
    2 frames
  5. vg.civcraft.mc
    NameLayerPlugin.onEnable
    1. vg.civcraft.mc.civmodcore.dao.ManagedDatasource.getReady(ManagedDatasource.java:177)[CivModCore-1.5.02.jar:?]
    2. vg.civcraft.mc.civmodcore.dao.ManagedDatasource.<init>(ManagedDatasource.java:170)[CivModCore-1.5.02.jar:?]
    3. vg.civcraft.mc.namelayer.NameLayerPlugin.loadDatabases(NameLayerPlugin.java:141)[NameLayer-2.9.06.jar:?]
    4. vg.civcraft.mc.namelayer.NameLayerPlugin.onEnable(NameLayerPlugin.java:64)[NameLayer-2.9.06.jar:?]
    4 frames
  6. Bukkit
    SimplePluginManager.enablePlugin
    1. org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)[patched_1.10.2.jar:git-Paper-885]
    2. org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316)[patched_1.10.2.jar:git-Paper-885]
    3. org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407)[patched_1.10.2.jar:git-Paper-885]
    3 frames
  7. org.bukkit.craftbukkit
    CraftServer.enablePlugins
    1. org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugin(CraftServer.java:375)[patched_1.10.2.jar:git-Paper-885]
    2. org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:325)[patched_1.10.2.jar:git-Paper-885]
    2 frames
  8. net.minecraft.server
    MinecraftServer.run
    1. net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:418)[patched_1.10.2.jar:git-Paper-885]
    2. net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:383)[patched_1.10.2.jar:git-Paper-885]
    3. net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:329)[patched_1.10.2.jar:git-Paper-885]
    4. net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:275)[patched_1.10.2.jar:git-Paper-885]
    5. net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:584)[patched_1.10.2.jar:git-Paper-885]
    5 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_101]
    1 frame