Skip to Content.
Sympa Menu

freetds - RE: jdbc

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Cantone <mcantone AT usinteractive.com>
  • To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
  • Subject: RE: jdbc
  • Date: Tue, 21 Mar 2000 08:09:48 -0800


Thanks for this. I am getting a network connection refused error. I don't
think there should be any issues - I am sure the password and user name and
DB name are valid as I can make remote connections using other software with
these parameters. And I have used jdbc with oracle so I believe the overall
sequence of calls I am making is correct. I am wondering if maybe the Driver
I am trying to register is incorrect? I am using the following:

connstring="jdbc:freetds.sqlserver://xxx.xxx.xxx.xxx/myDBName";

or (tried them both)

connstring="jdbc:freetds.sqlserver://xxx.xxx.xxx.xxx:1433/myDBName";


DriverManager.registerDriver(new com.internetcds.jdbc.tds.Driver());

or (tried them both)

DriverManager.registerDriver(new com.internetcds.jdbc.tds.SybaseDriver());


Then,

Connection conn=DriverManager.getConnection(connstring,user, password);

As always, any thoughts are sincerely appreciated.

Mike


-----Original Message-----
From: barise AT koc.net [mailto:barise AT koc.net]
Sent: Tuesday, March 21, 2000 9:27 AM
To: TDS Development Group
Subject: [freetds] RE: jdbc


String URL = "jdbc:freetds:sqlserver://IP:1433/DB";

> -----Original Message-----
> From: Michael Cantone [SMTP:mcantone AT usinteractive.com]
> Sent: 21 Mart 2000 Sali 16:19
> To: TDS Development Group
> Subject: [freetds] jdbc
>
> Can anyone tell me what the connect string is for the JDBC driver if I
> want
> to connect to a SQL Server DB? I have valid connect strings for oracle
> which
> look something like "oracle:thin:@108.92.64.100:mydb" - I'm looking for
> something similar for Sql Server.
>
> Mike
> ------------------------------------------------
> Michael Cantone
> Director, Technology Services
>
> U.S. Interactive
> 430 Mountain Avenue
> Murray Hill, NJ 07974
>
> (908) 790-8425 (Voice)
> (908) 790-1588 (Fax)
> mcantone AT usinteractive.com
> http://www.usinteractive.com
>
>
> ---
> You are currently subscribed to freetds as: barise AT koc.net
> To unsubscribe, forward this message to
> $subst('Email.Unsub')

---
You are currently subscribed to freetds as: mcantone AT usinteractive.com
To unsubscribe, forward this message to
$subst('Email.Unsub')



  • jdbc, Michael Cantone, 03/21/2000
    • <Possible follow-up(s)>
    • RE: jdbc, barise, 03/21/2000
    • Re: jdbc, Henry Lu, 03/21/2000
    • RE: jdbc, Michael Cantone, 03/21/2000
    • RE: jdbc, Craig Spannring, 03/21/2000
    • RE: jdbc, Michael Cantone, 03/21/2000
    • RE: jdbc, brlewis, 03/22/2000

Archive powered by MHonArc 2.6.24.

Top of Page