From owner-freebsd-net@FreeBSD.ORG Mon Aug 18 08:07:01 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0A4D37B405 for ; Mon, 18 Aug 2003 08:06:58 -0700 (PDT) Received: from unimur.um.es (unimur.um.es [155.54.1.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 164A343FAF for ; Mon, 18 Aug 2003 08:06:57 -0700 (PDT) (envelope-from yoyes@dif.um.es) Received: from aries.dif.um.es (aries.dif.um.es [155.54.210.253]) by unimur.um.es (8.9.1b+Sun/8.9.1) with ESMTP id PAA28874; Mon, 18 Aug 2003 15:54:42 +0200 (MEST) Received: from IPv6Router (gemela.dif.um.es [155.54.210.45]) by aries.dif.um.es (Postfix) with ESMTP id 933AF14426; Mon, 18 Aug 2003 15:43:43 +0200 (MET DST) Content-Type: text/plain; charset="iso-8859-1" From: Maria Dolores Moral To: "Zomer Pi (ZPP)" Date: Mon, 18 Aug 2003 16:58:37 +0200 User-Agent: KMail/1.4.3 References: <200308141257.03124.yoyes@dif.um.es> <150473122.20030818100421@myrealbox.com> In-Reply-To: <150473122.20030818100421@myrealbox.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200308181658.37384.yoyes@dif.um.es> cc: freebsd-net@freebsd.org Subject: Re: Something like my.cnf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 15:07:01 -0000 Thanks a lot for your time. I get it. I have resolved it yet. Best Regards On Monday 18 August 2003 11:04, you wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello Maria, on 14/08/2003 at 11:57:03 you wrote: > > I am working with java and mysql on FreeBSD. > > > > I obtain the following exception: > > java.sql.SQLException: Server configuration denies access to data sou= rce > > at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:399) > > at com.mysql.jdbc.Connection.createNewIO(Connection.java:1562= ) > > at com.mysql.jdbc.Connection.(Connection.java:491) > > at > > com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java= :346 > >) at java.sql.DriverManager.getConnection(DriverManager.java:450) at > > java.sql.DriverManager.getConnection(DriverManager.java:130) at > > Server.obtainPK(Server.java:44) > > at Server.main(Server.java:145) > > > > For this code: > > > > Class.forName("org.gjt.mm.mysql.Driver").newInstance(); > > DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root"= ,"ca > >racola"); > > > > Someone has suggested me to configure something else, something like > > my.cnf, but I have not found it. > > > > Somebody Know a similar archive and how I must configure it. > > > > If anybody have this file and could send me ;-), I would be very > > grateful. > > > > Your faithfully > > First off all I'm sorry I can't help you with your problem > but i think you'll find better help on this list > > For list archives: > List-Help: > > - -- > Best regards, > Zomer > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3rc2 (MingW32) > > iD8DBQE/QJaadFf9GasbAsgRAoGtAKCatMcO7NSf0pNWqQSb5UHTOqKD+ACghSTZ > qpzeyy5Lnn1YG5fmWekZf0A=3D > =3DLvix > -----END PGP SIGNATURE-----