[prev in list] [next in list] [prev in thread] [next in thread]
List: freetds
Subject: [freetds] Re: jdbc driver
From: Stefan Bodewig <bodewig () bost ! de>
Date: 2001-01-19 7:37:00
[Download RAW message or body]
Mark Molenda <mark.molenda@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
---
You are currently subscribed to freetds as: [freetds@progressive-comp.com]
To unsubscribe, forward this message to leave-freetds-113879Q@franklin.oit.unc.edu
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic