Re: Java interacting with mysql

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Joseph Gledhill
Date:  
To: plug-discuss
Subject: Re: Java interacting with mysql
You need to do the following things:

1. make sure the connector library is in your classpath
2. load the driver
3. get a connection
4. create a statenent
5. execute you sql on the statement
and either
6. read your result code
or
6. use your result set.

see

http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html

This is from a programmers POV.

Ben Coffman wrote:

> Has anyone done this sucsessfully? i know you need to use
> J/Connector, but outside of that I am not having any luck?
>
> Thanks,
>
> Ben
>
> _________________________________________________________________
> Create a Job Alert on MSN Careers and enter for a chance to win $1000!
> http://msn.careerbuilder.com/promo/kaday.htm?siteid=CBMSN_1K&sc_extcmp=JS_JASweep_MSNHotm2
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss