JDBC + SQL Server --> improper URL

Bob Kline bkline at rksystems.com
Wed Mar 1 13:29:22 EST 2000


On Wed, 1 Mar 2000, Stefanos Karasavvidis wrote:

> I try to get a connection to SQl Server 7. the
> DriverManager.getConnection throws always an Excpetion with message
> 
> Improper Driver URL Specified
> 
> 
> My URL is
>     jdbc:freetds:sqlserver://194.219.144.171:1433/cretantournet
> 
> I tried various packages from the jdbc download site, all with the same
> error.
> 
> Help???!!
> 
> Stefanos

Try leaving out the port and including the database name:

    jdbc:freetds:sqlserver://194.219.144.171/cretantournet/pubs

-- 
Bob Kline
mailto:bkline at rksystems.com
http://www.rksystems.com




More information about the FreeTDS mailing list