• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC & MySQL first time set up?

 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic