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.

  • Error using latest for geSuite
    via GitHub by Kainzo
    ,
  • Mysql Tomcat java.sql.SQLException - Spring Forum
    via by Unknown author,
  • GitHub comment 740#247589515
    via GitHub by oulenz
    ,
    • java.sql.SQLException: null, message from server: "Host '172.17.0.9' is not allowed to connect to this MySQL server" at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:959) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1038) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2254) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2285) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2084) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:795) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)

    Users with the same issue

    Unknown visitor1 times, last one,
    linxiaolong
    1 times, last one,
    rocday
    1 times, last one,
    zbalint
    4 times, last one,
    Victor_IT
    1 times, last one,
    146 more bugmates