File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes JDBC & MySQL first time set up? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC & MySQL first time set up?" Watch "JDBC & MySQL first time set up?" New topic
Author

JDBC & MySQL first time set up?

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
Hi, I'm running redhat 7.0(linux). I just installed MySQL, and I want to begin programming with JDBC. I downloaded the appropriate driver and included it in my classpath. From what I understand I need to initialize a DBMS, so the DriverManager knows which driver to use. Could someone please let me know how to do this? I'm anxious to try some new stuff thanks.
-Sean

P.S. I used jdbc with Windows once, a long time ago. It seems that every book on jdbc only includes windows instructions for access.
Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
I got it running just fine. I thought I had an extra step to do. I changed my program from "localhost" to my ip address, and everything works fine now. I'm going to have to learn some sql though.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDBC & MySQL first time set up?