java.sql.SQLException: null, message from server: "Host '103.253.39.4' is not allowed to connect to this MySQL server"

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Connect Java fx application to remotely hosted database

    Stack Overflow | 10 months ago | Syêð Hàsân Mâíñül
    java.sql.SQLException: null, message from server: "Host '103.253.39.4' is not allowed to connect to this MySQL server"
  2. 0

    MySQL Bugs: #77665: JDBC fails to connect with MySQL 5.0

    mysql.com | 11 months ago
    java.sql.SQLException: Unknown system variable 'language'
  3. 0

    Error using latest for geSuite

    GitHub | 3 years ago | Kainzo
    java.sql.SQLException: Access denied for user 'username'@'localhost' (using password: YES)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Could not load 'plugins/FBasics.jar' in folder 'plugins'

    GitHub | 2 years ago | k3ldon
    org.bukkit.plugin.InvalidPluginException: com.avaje.ebeaninternal.server.lib.sql.DataSourceException: java.sql.SQLException: Access denied for user 'bukkit'@'localhost' (using password: YES)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    null, message from server: "Host '103.253.39.4' is not allowed to connect to this MySQL server"

    at com.mysql.jdbc.SQLError.createSQLException()
  2. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998)
    2. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:937)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
    4. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1037)
    5. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2239)
    6. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2270)
    7. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2069)
    8. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
    9. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
    9 frames
  3. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:408)
    4 frames
  4. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:389)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
    3 frames
  5. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:664)
    2. java.sql.DriverManager.getConnection(DriverManager.java:270)
    2 frames
  6. com.garciaPlumbing.model
    FittingDetails.getAllSuppliers
    1. com.garciaPlumbing.model.DatabaseManager.connect(DatabaseManager.java:38)
    2. com.garciaPlumbing.model.FittingDetails.getAllSuppliers(FittingDetails.java:155)
    2 frames
  7. com.garciaPlumbing.view
    BasicLayout.<init>
    1. com.garciaPlumbing.view.Layout_AddFittingType.<init>(Layout_AddFittingType.java:52)
    2. com.garciaPlumbing.view.Layout_InsertFittingDetails.<init>(Layout_InsertFittingDetails.java:37)
    3. com.garciaPlumbing.view.MenuItemTask.<init>(MenuItemTask.java:23)
    4. com.garciaPlumbing.view.BasicLayout.<init>(BasicLayout.java:40)
    4 frames
  8. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:340)
    2 frames
  9. com.sun.javafx
    LauncherImpl.lambda$launchApplicationWithArgs$148
    1. com.sun.javafx.application.LauncherImpl.lambda$launchApplicationWithArgs$148(LauncherImpl.java:327)
    1 frame