Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Localhost

Status
Not open for further replies.

ACRRHODES

Programmer
May 16, 2000
33
CA
I'm confused. I'm working on a school project and I need step-by-step advice on how to:

1. Connect to 'localhost' with JAVA
2. Use SQL to query my database

I have a book that (sort of) tells me how to do this, but I've had troubles finding the right drivers and stuff. I would greatly appreciate some assistance.

ACRRHODES ***
Dammit Jim, I'm a programmer, not a doctor.
 
you should tell us the database you use.
Do you use jsp, servlet or pure Java to connect to database?
 
I'm using pure Java to connect. As for the rest of your question, I'm not sure I understand. ***
Dammit Jim, I'm a programmer, not a doctor.
 
Does anyone have more advice? I downloaded a 'driver' (mm.mysql-2.0.12) and unjarred it, like they said to on the webpage, and it was just a lot of .xml and .class junk. Does anyone have a clue how I can install this driver in order to use it to connect to my database? ***
Dammit Jim, I'm a programmer, not a doctor.
 
[tt]
Welcome to phpMyAdmin 2.2.3

MySQL 3.23.36 running on localhost
[/tt]

That's what the database 'homepage' on our server says. Does that help? ***
Dammit Jim, I'm a programmer, not a doctor.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top