Skip to Content.
Sympa Menu

freetds - Re: JDBC + SQL Server --> improper URL

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Henry Lu <zhlu AT umich.edu>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: JDBC + SQL Server --> improper URL
  • Date: Wed, 1 Mar 2000 14:00:02 -0500 (EST)


Try the following:

connection string: "com.internetcds.jdbc.tds.Driver"
login host string: "jdbc:freetds:sqlserver://194.219.144.171/xxx"
where xxx is your database name in SQL Server

Good luck!


---------------------------------------------------------------------------
Henry Lu
Computer Systems Programmer III e-mail: zhlu AT umich.edu
MCIT phone: (734) 936-2063
University of Michigan Medical Center fax: (734) 763-4372

On Wed, 1 Mar 2000, Bob Kline wrote:

> 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
>
>
> ---
> You are currently subscribed to freetds as: zhlu AT umich.edu
> To unsubscribe, forward this message to $subst('Email.Unsub')
>





Archive powered by MHonArc 2.6.24.

Top of Page