Date: Mon, 18 Aug 2003 10:04:21 +0100 From: "Zomer Pi (ZPP)" <pizomer@myrealbox.com> To: yoyes@dif.um.es, freebsd-net@freebsd.org Subject: Re: Something like my.cnf Message-ID: <150473122.20030818100421@myrealbox.com> In-Reply-To: <200308141257.03124.yoyes@dif.um.es> References: <200308141257.03124.yoyes@dif.um.es>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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.<init>(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: <http://lists.mysql.com/mysql> List-Help: <mailto:mysql-help@lists.mysql.com> - -- Best regards, Zomer <mailto:pizomer@myrealbox.com> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3rc2 (MingW32) iD8DBQE/QJaadFf9GasbAsgRAoGtAKCatMcO7NSf0pNWqQSb5UHTOqKD+ACghSTZ qpzeyy5Lnn1YG5fmWekZf0A= =Lvix -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?150473122.20030818100421>