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

Stack Overflow | pier92 | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    mysql connection error with hive

    Stack Overflow | 2 years ago | Ravi H Tapela
    java.sql.SQLException: null, message from server: "Host 'ravi' is not allowed to connect to this MySQL server"
  2. 0

    How to remove this bug while making jdbc simple program

    Stack Overflow | 3 years ago | user2648752
    java.sql.SQLException: null, message from server: "Host '192.168.1.100' is not allowed to connect to this MySQL server"
  3. 0

    how to connect to MySQL database with SSL certificates in Java

    Stack Overflow | 3 years ago | Simone Gabbriellini
    java.sql.SQLException: null, message from server: "Host '93-45-149-182.ip102.fastwebnet.it' is not allowed to connect to this MySQL server" t com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1084)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    connecting to mysql database failing

    Stack Overflow | 5 years ago | prolink007
    java.sql.SQLException: null, message from server: "Host '192.168.1.102' is not allowed to connect to this MySQL server"
  6. 0

    Connect a web-app on tomcat container to mysql container via hibernate

    Stack Overflow | 1 month ago | pier92
    java.sql.SQLException: null, message from server: "Host '172.17.0.9' is not allowed to connect to this MySQL server"

  1. batwalrus76 4 times, last 6 days ago
  2. Omya 2 times, last 2 months ago
  3. DoktorDoener666 1 times, last 2 months ago
  4. jshakil 3 times, last 5 months ago
  5. jstrayer 6 times, last 6 months ago
3 more registered users
28 unregistered visitors
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 '172.17.0.9' 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:959)
    2. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
    4. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1038)
    5. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2254)
    6. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2285)
    7. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2084)
    8. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:795)
    9. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
    9 frames