代码之家  ›  专栏  ›  技术社区  ›  sree

maria DB连接问题

  •  0
  • sree  · 技术社区  · 7 年前

    当我通过Talend与mariaDb联系时,我面临以下问题

    Exception in component tMysqlConnection_2
    java.sql.SQLException: Host 'xx.xx.xx.xx' is not allowed to connect to this MariaDB server
        at org.mariadb.jdbc.internal.SQLExceptionMapper.get(SQLExceptionMapper.java:149)
        at org.mariadb.jdbc.internal.SQLExceptionMapper.throwException(SQLExceptionMapper.java:106)
        at org.mariadb.jdbc.Driver.connect(Driver.java:114)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at local_project.bokka_0_1.bokka.tMysqlConnection_2Process(bokka.java:321)
        at local_project.bokka_0_1.bokka.runJobInTOS(bokka.java:586)
        at local_project.bokka_0_1.bokka.main(bokka.java:443)
    Caused by: org.mariadb.jdbc.internal.common.QueryException: Host '10.207.0.39' is not allowed to connect to this MariaDB server
        at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connect(MySQLProtocol.java:398)
        at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connect(MySQLProtocol.java:673)
        at org.mariadb.jdbc.internal.mysql.MySQLProtocol.<init>(MySQLProtocol.java:266)
        at org.mariadb.jdbc.Driver.connect(Driver.java:110)
        ... 5 more
    

    有人能帮我解决这个问题吗

    1 回复  |  直到 7 年前
        1
  •  0
  •   sree    7 年前

    感谢您的回复,这是目标机器的防火墙问题。