Originally posted by Saheed Adepoju:
Hi
Here is a sample code i got off the internet regarding connecting to mysql and modifying it i have the following
The above code when run gives me the output of "cannot connect to database" and then gives "com.mysql.jdbc.Driver" from e.getMessage()! I have Mysql installed properly and also have the native driver copied to the appropriate folder in my /JRE/bin/ext(I use a windows box)! Pls any apropriate help would be highly appreciated. Thanks.
Hi All,
The same code i excuted in my system.And it is working finr for me.
First it's given Error Message(As the aboveOnly..)
After i changed the classpath using mysql connector jar file(mysql-connector-java-3.0.10-stable-bin.jar).
I Placed this file in my Classpath.Now it is working fine for me.
Please Check the same.
Thank You.