1 message in com.mysql.lists.javanot able to connect to mysql I am get...
FromSent OnAttachments
lakshmi narayana03 Sep 2006 22:06 
Subject:not able to connect to mysql I am getting the exception: "Data Source rejected establishment of connection"
From:lakshmi narayana (loke@yahoo.com)
Date:09/03/2006 10:06:32 PM
List:com.mysql.lists.java

hi,

I am working on linux,I am not able to make a connection to mysql server. when I connect to mysql through java the following exception is raising:

java.sql.SQLException: Data source rejected establishment of connection,
message from server: "Host '10.6.0.172' is not allowed to connect to this MySQL
server" at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:650) at com.mysql.jdbc.Connection.createNewIO(Connection.java:1808) at com.mysql.jdbc.Connection.<init>(Connection.java:452) at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:193) at test.main(test.java:29)

I am able to go to mysql through terminal ,create tables ,and insert data.. What
would be the problem could u please help me... I used
"mysql-connector-java-3.0.17-ga" package to connect..