Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Database set up

I'm trying to set up a database using Java. This is the first time I've done it and I'm having a bit of trouble in the set up part of my JDBC driver (Connector/J). I downloaded and extracted it, but I'm not sure if it matters where I unzip it to. Also, I read that it says that I need to place mysql-connector-java-[version]-bin.jar in my classpath. Can anybody tell me where this goes? Thanks.
[419 byte] By [evenflow58] at [2007-11-11 7:20:33]
# 1 Re: Database set up
easiest way is to just drop the jar file (the driver in this case) into your extensions folder (ext) of where your jsdk is installed. In my particular case, the folder is: "C:\java\j2sdk1.4.2_05\jre\lib\ext"

It should read the driver after that. Might have to restart whatever editor you're using.
Phaelax at 2007-11-11 22:38:45 >
# 2 Re: Database set up
I got it all figured out. Thanks for the help.
evenflow58 at 2007-11-11 22:39:40 >