2 messages in com.mysql.lists.javaRe: mysql connexion fails RH6.1
FromSent OnAttachments
lionel enkaoua04 Dec 1999 11:07 
Mark Matthews04 Dec 1999 16:15 
Subject:Re: mysql connexion fails RH6.1
From:Mark Matthews (mmat@worldserver.com)
Date:12/04/1999 04:15:13 PM
List:com.mysql.lists.java

You either have a DNS misconfiguration on your server, or your MySQL server is installed with different GRANT options than before that don't allow TCP/IP connections from whatever host your application/applet is connecting from.

Check your MySQL manual for instructions on how to issue the proper GRANT commands to setup permissions for TCP/IP connections from given hosts.

-Mark (author of MM.MySQL)

On Sat, 4 Dec 1999, lionel enkaoua wrote:

This message was sent from Geocrawler.com by "lionel enkaoua"
<lion@lemel.fr> Be sure to reply to that address.

We try to connect to a table from mysql on RedHat 6.1, throw jdbc, but we still have the same error:

java.sql.SQLException:

Server configuration denies access to data source

at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:144) at org.gjt.mm.mysql.Connection.<init>(Connection.java:230) at org.gjt.mm.mysql.Driver.connect(Driver.java:126) at java.sql.DriverManager.getConnection(DriverManager.java:83) at java.sql.DriverManager.getConnection(DriverManager.java:126) at TestMysql.insere(TestMysql.java:24) at TestMysql.main(TestMysql.java:46)

We didn't have this error on RedHat 6.0, and on Mandrake.

we use :

-RH6.1 -blackdown jdk 1.1.7v3 -mm.mysql 1.2b -mysql 3.22

Thanks to help us.

To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail java@lists.mysql.com instead.