java.sql.SQLException

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

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

  • Liferay 6.2 GA1 Session Error - Forums | Liferay
    via by Unknown author,
    • java.sql.SQLException: Incorrect string value: '\xD0\xBA\xD1\x83\xD0\xBF...' for column 'description' at row 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:963)[mysql-connector-java-5.1.39.jar:5.1.39] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3966)[mysql-connector-java-5.1.39.jar:5.1.39]

    Users with the same issue

    ivanszkypeter
    470 times, last one,
    linxiaolong
    1 times, last one,
    rocday
    1 times, last one,
    slash
    1 times, last one,
    zbalint
    4 times, last one,
    145 more bugmates