Pages

Thursday, March 26, 2009

JDBC

This is a very easy task, but with request from some of my juniors, I am excited to mention it in my blog.

I am taking MySQL as an example here,

You can download a JDBC Connector of MySQL here.

1. Extract the downloaded zip file to C:/ if you are in Windows based OS.
2. Add this classpath to MyComputer>Properties>Environment Variable.
3. Copy mysql...jar file to C:/Program Files/Java/jdk 1.X.X/jre/lb/etx/

Then it will be connected. If you want a sample project, contact me, I will upload it somewhere.

No comments: