Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ConnectionImpl.commit() has thrown a SQLException
    MySQL Connector/J
    2
    1
    0
  2. MysqlIO.checkErrorPacket() has thrown a SQLException
    MySQL Connector/J
    274
    166
    32

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.sql.SQLException: Got temporary error 221 'Too many concurrently fired triggers (increase MaxNoOfFiredTriggers)' from NDBCLUSTER
1 matching frame hidden
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
5 frames hidden

Solution

rafael1 year ago

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

Check the source of this solution for more info

External results for this pattern (10)

  1. ArawakCCvia GitHub2 weeks ago
    unrecognized token: "@"
    Show stack trace
  2. SethGandyvia GitHub1 month ago
    Field 'typeid' doesn't have a default value
    Show stack trace
  3. ismisepaulvia GitHub1 month ago
    Access denied for user 'firstBloodyMessL'@'172.30.0.4' (using password: YES)
    Show stack trace
  4. MrArtem1337via GitHub1 month ago
    Incorrect string value: '\xD0\xBC\xD0\xB5\xD1\x88...' for column 'reason' at row 1
    Show stack trace
  5. bitlinvia GitHub1 month ago
    Access denied for user 'ngtesting'@'183.157.87.85' (using password: YES)
    Show stack trace
  6. gnujavasergiovia GitHub1 month ago
    could not execute query
    Show stack trace
  7. R-Josefvia GitHub1 month ago
    Incorrect string value: '\xAC\xED\x00\x05sr...' for column 'playername' at row 1
    Show stack trace
  8. lujunGitvia GitHub1 month ago
    Transaction error, need to rollback. errno:1205 Lock wait timeout exceeded; try restarting transaction
    Show stack trace
  9. hasonevia GitHub1 month ago
    The MySQL server is running with the --read-only option so it cannot execute this statement
    Show stack trace
  10. YangAnLinvia GitHub1 month ago
    Unknown system variable 'tx_isolation'
    Show stack trace