java.lang.Exception: Error in creating the database

Ask Ubuntu | user6297667 | 10 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

    WS02 MYSQL error

    Stack Overflow | 10 months ago | user6297667
    java.lang.Exception: Error in creating the database
  2. 0

    Connection mySQL to ws02

    Ask Ubuntu | 10 months ago | user6297667
    java.lang.Exception: Error in creating the database
  3. 0

    Connection Mysql fails

    Ask Ubuntu | 10 months ago | user6297667
    java.lang.Exception: Error in creating the database
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Duplicate Upgrade Query in 3.1

    GitHub | 2 years ago | jtesser
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'language_id'
  6. 0

    Sql syntax error running clean mysql instance

    GitHub | 5 years ago | jgambarios
    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 '0) not null, log_name varchar(30) not null, description varchar(50) n' at line 2

  1. Hronom 3 times, last 2 months ago
  2. Kialandei 1 times, last 3 months ago
  3. tvrmsmith 6 times, last 3 months ago
  4. davidvanlaatum 4 times, last 5 months ago
  5. qoomon 1 times, last 6 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 'REG_CREATED_TIME'

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  3. MySQL jdbc
    StatementImpl.execute
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    2. com.mysql.jdbc.Util.getInstance(Util.java:387)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:939)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814)
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2478)
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2625)
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2547)
    9. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2505)
    10. com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:840)
    11. com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:740)
    11 frames
  4. org.wso2.carbon
    BundleCheckActivator.start
    1. org.wso2.carbon.utils.dbcreator.DatabaseCreator.executeSQL(DatabaseCreator.java:139)
    2. org.wso2.carbon.utils.dbcreator.DatabaseCreator.executeSQLScript(DatabaseCreator.java:325)
    3. org.wso2.carbon.utils.dbcreator.DatabaseCreator.createRegistryDatabase(DatabaseCreator.java:61)
    4. org.wso2.carbon.user.core.common.DefaultRealmService.initializeDatabase(DefaultRealmService.java:328)
    5. org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:88)
    6. org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:112)
    7. org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:68)
    8. org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
    8 frames
  5. Eclipse OSGi
    BundleContextImpl$1.run
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
    1 frame
  6. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  7. Eclipse OSGi
    StartLevelManager.dispatchEvent
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
    5. org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
    6. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
    7. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
    8. org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
    9. org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
    10. org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
    11. org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
    11 frames
  8. Eclipse OSGi
    EventManager$EventThread.run
    1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    2. org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    2 frames