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 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"