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");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.