|
|
Choosing A Webhost: |
RE: Named Instances of MS SQL Server 2000: msg#00245db.tds.freetds
> > You are a genius: > > you wrote: > > Looking at the sample C# source code that was sent earlier: > > "DANPC\\NETSDK" would get parsed into two parts: > the ServerName (hostname) - "DANPC" > the InstanceName - "NETSDK" > > The UDP socket on port 1434 is connected to "DANPC" and sent > the data 0x02 and the InstanceName "NETSDK". The Microsoft > SQL Server SQL Monitor listens here. > > The SQL Monitor responds with the result string that I showed below. > > You send and receive ASCII. > > Based on the data I got for ServerName "DANPC and > InstanceName "NETSDK", I have two options of connecting to > that instance: > > - connect via TCP port 1335 > - connect via named pipes at \\DANPC\pipe\MSSQL$NETSDK\sql\query > > Basically, I have discovered how to connect to the named > instance "NETSDK" at "DANPC". However, for a Unix client, > only the TCP port really matters. > > response: > > I'm playing around with a remote connection for the NETSDK > and couldn't figure it out at all. Thanks for your posting. > Hi Scott! Direct support for named instance in FreeTDS is still a TODO. You NEED to know the tcp/ip port. I know it's not so difficult to implement named instance (just open a upd connection, require port and wait reply), however I prefer to dedicate my time to fix latest issues for coming 0.62 version... If you want to code it we'll be glad (me, James or anyone how can) to add your code. bye freddy77
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Named Instances of MS SQL Server 2000, Scott Laing |
|---|---|
| Next by Date: | RE: Freetds\sql server lag, ZIGLIO Frediano |
| Previous by Thread: | Named Instances of MS SQL Server 2000, Scott Laing |
| Next by Thread: | problem with fetching the result, David Nsengiyumva |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |