Hi,
You can connect to the mysql database with the following line

con =
DriverManager.getConnection("jdbc:mysql://localhost/database?user=someuser&p
assword=somepwd");

But first you need the mm.mysql driver download it from the following URL:
http://www.mysql.com/downloads/api-jdbc.html

You would probably find more demos and info at :
http://mmmysql.sourceforge.net/

as for you last question i dont think you would need apache since you got
both the webserver and servlet environs...should work hopefully :-)

Sundru,
Soft Engg, Megasoft Ltd, India.




----- Original Message -----
From: "Vaishali Vaidya" <[EMAIL PROTECTED]>
To: "mysql" <[EMAIL PROTECTED]>
Sent: Thursday, December 20, 2001 5:32 PM
Subject: Need Driver for JRun


> Hi,
> I am a novice to MySql and am trying to develop an application on
IIS-Allair
> JRun combination on Win NT server, with MySql as backend database. Please
> let me know where I can get a driver to connect JRun and MySql for the
above
> combination. Also, do I require Apache Webserver as well and if so why?
> Vaishali
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to