freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Stefan Bodewig <bodewig AT bost.de>
- To: <freetds AT franklin.oit.unc.edu>
- Subject: Re: jdbc driver
- Date: 19 Jan 2001 08:37:00 +0100
Mark Molenda <mark.molenda AT eds.com> wrote:
> When I go to run a select on a SQL Server 6.5 I get the following
> message:
>
> "SQLException: java.sql.SQLException: No suitable driver"
>
>
> My code is as follows:
<snip/>
> DriverManager.getConnection("jdbc:freetds:goodhostnamehere","sa","password");
should be //goodhostnamehere/database instead of goodhostname if the
server is using the default port and //goodhostnamehere:port/database
otherwise. It is also strongly encouraged to use
jdbc:freetds:sqlserver as protocol specification, even though this is
the default.
HTH
Stefan
-
JDBC Driver,
Barnard Foo, 01/03/2001
- <Possible follow-up(s)>
- Re: JDBC Driver, Stefan Bodewig, 01/04/2001
- Re: JDBC Driver, Barnard Foo, 01/04/2001
- jdbc driver, Mark Molenda, 01/18/2001
- RE: jdbc driver, Thomas Pridham, 01/18/2001
- RE: jdbc driver, Molenda, Mark P, 01/18/2001
- Re: jdbc driver, Stefan Bodewig, 01/19/2001
Archive powered by MHonArc 2.6.24.