You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by KKH <un...@home.com> on 2001/07/15 16:51:53 UTC

help..

Hi....
i have a linux-box with java+tomcat+jdbc....and working fine...
question : how can i connect from other computer system to my linux box
through jdbc?
Do i need to install another driver to the other one?
i was trying to connect from my windog98se to my server... so.. compiled
some simple connection java code on wondog box, then i have an error message
"org.gjt.mm.mysql.Driver No suitable driver"...

How can i make them connect each other other?

Thanks in advance..


RE: help..

Posted by KKH <un...@home.com>.
Thank you
it works....
kkh

-----Original Message-----
From: Jeff Kilbride [mailto:jeff@kilbride.com]
Sent: Sunday, July 15, 2001 4:30 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: help..


The MySQL JDBC driver is a type 4 driver, so it will work on Windows and
Linux. Just put the MySQL jar file in your classpath on your Windows
machine.

Thanks,
--jeff

----- Original Message -----
From: "Ben Kimball" <bk...@home.com>
To: <to...@jakarta.apache.org>
Sent: Sunday, July 15, 2001 11:24 AM
Subject: Re: help..


> You will need to install the MySQL JDBC driver on every box that will be
> connecting to the SQL server. Go to the mysql web site and look for the (I
> assume wondog means windows?) Windows driver. Or in some situations you
can
> use a Type 4 JDBC driver which can be downloaded by your users from your
web
> server, but probably easier to use the dedicated Windows JDBC driver (aka
a
> Type 2 JDBC driver) to get started and make sure everything works.
>
> On Sunday 15 July 2001 10:51, you wrote:
> > Hi....
> > i have a linux-box with java+tomcat+jdbc....and working fine...
> > question : how can i connect from other computer system to my linux box
> > through jdbc?
> > Do i need to install another driver to the other one?
> > i was trying to connect from my windog98se to my server... so.. compiled
> > some simple connection java code on wondog box, then i have an error
> > message "org.gjt.mm.mysql.Driver No suitable driver"...
> >
> > How can i make them connect each other other?
> >
> > Thanks in advance..
>



Re: help..

Posted by Jeff Kilbride <je...@kilbride.com>.
The MySQL JDBC driver is a type 4 driver, so it will work on Windows and
Linux. Just put the MySQL jar file in your classpath on your Windows
machine.

Thanks,
--jeff

----- Original Message -----
From: "Ben Kimball" <bk...@home.com>
To: <to...@jakarta.apache.org>
Sent: Sunday, July 15, 2001 11:24 AM
Subject: Re: help..


> You will need to install the MySQL JDBC driver on every box that will be
> connecting to the SQL server. Go to the mysql web site and look for the (I
> assume wondog means windows?) Windows driver. Or in some situations you
can
> use a Type 4 JDBC driver which can be downloaded by your users from your
web
> server, but probably easier to use the dedicated Windows JDBC driver (aka
a
> Type 2 JDBC driver) to get started and make sure everything works.
>
> On Sunday 15 July 2001 10:51, you wrote:
> > Hi....
> > i have a linux-box with java+tomcat+jdbc....and working fine...
> > question : how can i connect from other computer system to my linux box
> > through jdbc?
> > Do i need to install another driver to the other one?
> > i was trying to connect from my windog98se to my server... so.. compiled
> > some simple connection java code on wondog box, then i have an error
> > message "org.gjt.mm.mysql.Driver No suitable driver"...
> >
> > How can i make them connect each other other?
> >
> > Thanks in advance..
>


RE: help..

Posted by KKH <un...@home.com>.
Thank you...
i works...

kkh

-----Original Message-----
From: Ben Kimball [mailto:bkimball@home.com]
Sent: Sunday, July 15, 2001 12:25 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: help..


You will need to install the MySQL JDBC driver on every box that will be
connecting to the SQL server. Go to the mysql web site and look for the (I
assume wondog means windows?) Windows driver. Or in some situations you can
use a Type 4 JDBC driver which can be downloaded by your users from your web
server, but probably easier to use the dedicated Windows JDBC driver (aka a
Type 2 JDBC driver) to get started and make sure everything works.

On Sunday 15 July 2001 10:51, you wrote:
> Hi....
> i have a linux-box with java+tomcat+jdbc....and working fine...
> question : how can i connect from other computer system to my linux box
> through jdbc?
> Do i need to install another driver to the other one?
> i was trying to connect from my windog98se to my server... so.. compiled
> some simple connection java code on wondog box, then i have an error
> message "org.gjt.mm.mysql.Driver No suitable driver"...
>
> How can i make them connect each other other?
>
> Thanks in advance..


Re: help..

Posted by Ben Kimball <bk...@home.com>.
You will need to install the MySQL JDBC driver on every box that will be 
connecting to the SQL server. Go to the mysql web site and look for the (I 
assume wondog means windows?) Windows driver. Or in some situations you can 
use a Type 4 JDBC driver which can be downloaded by your users from your web 
server, but probably easier to use the dedicated Windows JDBC driver (aka a 
Type 2 JDBC driver) to get started and make sure everything works.

On Sunday 15 July 2001 10:51, you wrote:
> Hi....
> i have a linux-box with java+tomcat+jdbc....and working fine...
> question : how can i connect from other computer system to my linux box
> through jdbc?
> Do i need to install another driver to the other one?
> i was trying to connect from my windog98se to my server... so.. compiled
> some simple connection java code on wondog box, then i have an error
> message "org.gjt.mm.mysql.Driver No suitable driver"...
>
> How can i make them connect each other other?
>
> Thanks in advance..