If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

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

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,
  • accesssing another systems databse?
    via Stack Overflow by user1741023
    • java.sql.SQLException: null, message from server: "Host '' is not allowed to connect to this MySQL server" at com.mysql.jdbc.SQLError.createSQLException( at com.mysql.jdbc.SQLError.createSQLException( at com.mysql.jdbc.SQLError.createSQLException( at com.mysql.jdbc.MysqlIO.doHandshake( at com.mysql.jdbc.ConnectionImpl.coreConnect( at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly( at com.mysql.jdbc.ConnectionImpl.createNewIO( at com.mysql.jdbc.ConnectionImpl.<init>( at com.mysql.jdbc.JDBC4Connection.<init>( at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( at java.lang.reflect.Constructor.newInstance( at com.mysql.jdbc.Util.handleNewInstance( at com.mysql.jdbc.ConnectionImpl.getInstance( at com.mysql.jdbc.NonRegisteringDriver.connect( at java.sql.DriverManager.getConnection( at java.sql.DriverManager.getConnection( at com.garciaPlumbing.model.DatabaseManager.connect( at com.garciaPlumbing.model.FittingDetails.getAllSuppliers( at com.garciaPlumbing.view.Layout_AddFittingType.<init>( at com.garciaPlumbing.view.Layout_InsertFittingDetails.<init>( at com.garciaPlumbing.view.MenuItemTask.<init>( at com.garciaPlumbing.view.BasicLayout.<init>( at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at com.sun.javafx.application.LauncherImpl.lambda$launchApplicationWithArgs$148(

    Users with the same issue

    1 times, last one,
    1 times, last one,
    3 times, last one,
    6 times, last one,
    Unknown visitor1 times, last one,
    146 more bugmates