As a follow-on FYI, I've d/loaded the MyODBC/J package, and have the .jar file from that package in the CLASSPATH, and NetBeans seems to recognise it.
On Sat, 2003-03-15 at 12:30, simon wrote:
if you are using java (I asume you are as you are using netbeans) you can connect with
Class.forName("org.gjt.mm.mysql.Driver").newInstance(); Connection connection = DriverManager.getConnection( "jdbc:mysql://[server ip address]/[database]");
you need add the package org.gjt.mm.mysql.Driver to your class path
Tony Dietrich wrote:
I've just started try to do some programming on a Linux based system, after years of working in WinDoze.
One of the first hurdles I'm facing is that the current project requires accessing a remote MySql server (remote, but on the same LAN).
I'm assuming its possible to set up some sort of ODBC service, but for the life of me I can't find out the right way to do this. Has anyone got any hints please?
I'm using NetBeans or KDevelop, as my programming environment, it that affects anything :P
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!