Forums Register Login

JDBC-Mysql relation

+Pie Number of slices to send: Send
Both seem to be working fine..
<p> <b>Class.forName("org.gjt.mm.mysql.Driver").newInstance();
Class.forName("com.mysql.jdbc.Driver").newInstance();
</b>
</p>
but guess only one should work, which is the older version then?
Regards,
+Pie Number of slices to send: Send
I think that the org.gjt.mm.... was for the MMSQL Driver that has now been changed to the Connector/J Driver which uses the com.mysql.jdbc....
You probably have both drivers in your classpath, therfor both are able to resolve???
DO you know what Driver you are using?
+Pie Number of slices to send: Send
Hi Coma,
The MM distribution has stopped, so the short answer is use the com.mysql.jdbc.Driver driver.
Now, make sure you have the latest stable version of the com.mysql.jdbc.Driver by looking at the MySQL Connector/J page.
By the way, last version to-date is 2.0.14.
Cheers
Wanna see my flashlight? How about this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 672 times.
Similar Threads
Login Validation In JSP
servlet constructor for initialization
running servlet after the browser is closed
Problem instantiating an overloaded constructor using Reflections ...
retreiving all rows from a mysql table to a jsp page
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:01:24.