If the docs aren't included inthe tar.gz file for the driver, you should
download them.  All mysteries are revealed in the docs.  I've used this
driver in the past.  The docs had an example of how to connect using the
driver that you can literally cut and paste into your code.  RT*M.

As for using it with JRun, add the driver's jar or classes dir in the
java.classpath property in jrun/jsm-default/properties/jsm.properties and
restart JRun.

Scott Stirling

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Ryan Ahmed
Sent: Sunday, May 21, 2000 3:45 PM
To: [EMAIL PROTECTED]
Subject: HELP!!!


Dear Sir/Madam,
I am a student who has taken up a job to build a
greetings website using servlets.
I have finished all the servlets except the one to
connec to the mySql database and make
tables/transactions.
To connec to the database in localhost is easy i just
goto the settings and assign the driver etc but what
do i on the web?
I normally use->
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
      Connection conn =
DriverManager.getConnection("jdbc:odbc:MyDatabase");
to connect to the msaccess db but what do i use here?
Even if i download the driver
mm.mysql.jdbc-1.2c.tar.gz

Where do i put it?
ion my servlet dir?
or in my /data dir?

I am a virtual host and have been assigned jrun.
Also it would be a massive help if you can tell me
where can i find a servlet that can create a table in
the db for me.
Please help as i have to complete this project as soon
as possible.
Thanking you
Ryan.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to