jeronimo42
Programmer
I'm having some troubles with the JDBC Connector/J for MySQL. The documentation says the driver I should use is "org.gjt.mm.mysql.Driver". I typed up a simple driver program and it gives me an exception after these lines of code.
String driver = "org.gjt.mm.mysql.Driver";
Class.forName(driver).newInstance();
How do I get this driver to work?
Also, what is the syntax of the URL for Connector/J? Do I have to locate an actual file? Thanks a bunch!
J. Ciolkosz
String driver = "org.gjt.mm.mysql.Driver";
Class.forName(driver).newInstance();
How do I get this driver to work?
Also, what is the syntax of the URL for Connector/J? Do I have to locate an actual file? Thanks a bunch!
J. Ciolkosz