Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    MySQL doesn't support some types of characters (such as emojis) with the utf8 encoding. You need to be on MySQL 5.5+ and force utf8mb4 (everywhere, client and server). You can do this sending the query "SET NAMES utf8mb4". Check this https://goo.gl/3E2qzg

  2. ,

    Make sure you are using InnoDB storage engine and READ-COMMITTED transaction isolation level and increase the database server innodb_lock_wait_timeout variable to about 500.

Solutions on the web

via Mirth Project by Brent Moen, 1 year ago
Failed to execute script: mysql-9-3.0.0-1.sql
via Mirth Project by Brent Moen, 1 year ago
Failed to execute script: mysql-9-3.0.0-1.sql
java.sql.SQLException: Can't execute the given command because you have active locked tables or an active transaction	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2809)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2758)	at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:894)	at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:732)	at com.mirth.connect.server.migration.Migrator.executeScript(Migrator.java:84)	at com.mirth.connect.server.migration.Migrate3_0_0.migrate(Migrate3_0_0.java:46)	at com.mirth.connect.server.migration.ServerMigrator.migrate(ServerMigrator.java:63)	at com.mirth.connect.server.controllers.DefaultMigrationController.migrate(DefaultMigrationController.java:85)	at com.mirth.connect.server.Mirth.startup(Mirth.java:235)	at com.mirth.connect.server.Mirth.run(Mirth.java:154)	at com.mirth.connect.server.Mirth.main(Mirth.java:107)