MySQL and JDBC - some basic problems
Hey, I'm kind of new to this but, I have, I think, a simple question:
I have a MySQL database. I want a Java App to connect to it, write to it, etc...
I have my code written all right except I get an error in connecting. I have a MySQL database and a standard Odbc driver but I think I have the data within the forName() method wrong.
I've been looking for where to find the Driver name (like Jdbc:Odbc:myDriver for example) but I don't know where to get that, if anyone could help point me in the right direction that would be really awesome.
Tks!
|