Failed to execute script: mysql-9-3.0.0-1.sql

Samebug tips1

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


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1666

  • via Unknown by Brent Moen,
  • via Unknown by Brent Moen,
  • Stack trace

    • com.mirth.connect.model.util.MigrationException: Failed to execute script: mysql-9-3.0.0-1.sql at com.mirth.connect.server.migration.Migrator.executeScript( at com.mirth.connect.server.migration.Migrate3_0_0.migrate( at com.mirth.connect.server.migration.ServerMigrator.migrate( at com.mirth.connect.server.controllers.DefaultMigrationController.migrate( at com.mirth.connect.server.Mirth.startup( at at com.mirth.connect.server.Mirth.main( Caused by: 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( at com.mysql.jdbc.MysqlIO.checkErrorPacket( at com.mysql.jdbc.MysqlIO.checkErrorPacket( at com.mysql.jdbc.MysqlIO.sendCommand( at com.mysql.jdbc.MysqlIO.sqlQueryDirect( at com.mysql.jdbc.ConnectionImpl.execSQL( at com.mysql.jdbc.ConnectionImpl.execSQL( at com.mysql.jdbc.StatementImpl.execute( at com.mysql.jdbc.StatementImpl.execute( at com.mirth.connect.server.migration.Migrator.executeScript( ... 6 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    5 times, last one
    4 times, last one
    4 times, last one
    Unknown visitor
    Unknown visitorOnce,
    148 more bugmates