what code/string is used for MySql and which drivers are required for mysql
pls help [ July 27, 2004: Message edited by: nirail rail ]
Joined: Aug 24, 2000
Hi, I've done this, and I'm sure I got the complete information from mysql.org. Also, there are a bunch of tutorials out there. Google search = javajdbc mysql driver try. The try will probably garuntee you a code example . Happy hunting. Prem
Joined: Mar 18, 2003
I used the one found at:
Unpack the .jar file and make sure it is included in your CLASSPATH.
Load the driver with: Class.forName("com.mysql.jdbc.Driver").newInstance(); and get a connection with something like: Connection conn = DriverManager.getConnection("jdbc:mysql://localhost/test?user=root&password=");