What is and how do I download the JDBC driver and implement it in Eclipse?

Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

What is and how do I download the JDBC driver and implement it in Eclipse?

Hi all, I'm coding a chat room-program and I'm currently developing a registration/sign in form. After a little research, I noticed that in order to have multiple accounts, you need to work with databases. I knew about MySQL before, so I used that as a starting point. I later found that MySQL has different drivers/connectors for different languages (MySQL :: MySQL Downloads - MySQL connectors section). Because I'm using Java, I hit the Connector/J link and then downloaded the tar.gz zipped file choice (I'm using mac). Then, I unzipped the file and put the libs in the home/lib directory of Java, but it didn't work (I was told to do that on a forum). Now, I would really like to know how to install it from people that know what they're talking about, someone like you.

Also, I have no idea what MySQL is. I know that it's handling databases, but how? How does it work? Do I get a program like Eclipse or something? Please help.

How do I implement MySQL into Eclipse?

As I previousy mentioned, I put all the libs in the Java home/lib directory, does that affect my java in any way because I changed it?

Also, a link containing lots of tutorials for MySQL/JDBC and/or an example code would just be perfectly fine, even without installing instructions.

Re: What is and how do I download the JDBC driver and implement it in Eclipse?

Thread moved from What's wrong with my code.

hen, I unzipped the file and put the libs in the home/lib directory of Java, but it didn't work (I was told to do that on a forum). Now, I would really like to know how to install it from people that know what they're talking about, someone like you

Also, I have no idea what MySQL is. I know that it's handling databases, but how? How does it work? Do I get a program like Eclipse or something? Please help

I recommend reading about SQL in general - for instance SQL - Wikipedia, the free encyclopedia There are ample tutorials online about SQL, SQL being the language and MySQL being one implementation of a database accessed via SQL. For MySQL to run, you need it installed somehwere, then, and only then, can you use the Connector J driver to access the database.