Hi anyone, I've got a problem with my program. The prob is connecting Java program to mySQL database. At the moment I'm using Java Netbeans IDE 4.1. Hopefully I can got a reply asap...
Thanks a lot by the way :-|
hi
post your error or code...
first you need to load the driver example:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
then do the connection e.g.
Connection con = DriverManager.getConnection( url, "myLogin", "myPassword");