From owner-freebsd-net@FreeBSD.ORG Mon Aug 18 02:04:57 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 D23F037B409 for ; Mon, 18 Aug 2003 02:04:44 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3D1D43F3F for ; Mon, 18 Aug 2003 02:04:39 -0700 (PDT) (envelope-from pizomer@myrealbox.com) Received: from 213.22.40.90 pizomer@smtp-send.myrealbox.com [213.22.40.90] $ on Novell NetWare; Mon, 18 Aug 2003 03:04:31 -0600 Date: Mon, 18 Aug 2003 10:04:21 +0100 From: "Zomer Pi (ZPP)" X-Mailer: The Bat! (v1.62r) Organization: Shinobi Lda. X-Priority: 3 (Normal) Message-ID: <150473122.20030818100421@myrealbox.com> To: yoyes@dif.um.es, freebsd-net@freebsd.org In-Reply-To: <200308141257.03124.yoyes@dif.um.es> References: <200308141257.03124.yoyes@dif.um.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Something like my.cnf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Zomer Pi \(ZPP\)" 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 09:04:57 -0000 -----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 source > 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","caracola"); > 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= =Lvix -----END PGP SIGNATURE-----