Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Connecting from *nix/Apache/mod_perl to SQL Server

by andreychek (Parson)
on Dec 11, 2001 at 20:30 UTC ( #130964=note: print w/replies, xml ) Need Help??

in reply to Connecting from *nix/Apache/mod_perl to SQL Server

Thats certainly an interesting predicement you're in ;-)

As far as ODBC goes -- in order to do ODBC from your *nix box over to Windows, I believe you will still need a "bridge" to get your there. There are tools that can help you with this, ranging from open source to commercial. You would use unixODBC or iodbc along with it. Check out: (I just searched for "odbc bridge" at freshmeat)

  • dbtcp (Open Source)
  • ODBC-ODBC Bridge (Commercial)

    Now, for FreeTDS. I haven't looked at that in some time.. but I heard a rumour some months ago that SQL Server 7.0 was the last version that it would work with, as MS is moving it away from functioning like Sybase. I'm sure digging through the FreeTDS website would clear that up, but it's something to consider. Even if it still works now.. as soon as MS changes it enough, it may never work again.

    Doing HTTP and XML is always fun, and you could always consider using Apache 2.0, which is supposed to work well on Windows. It's of course in beta now, but I've been hearing good reports about it.

    There are also two other interesting options you can look into. There is the ODBC Socket Server, which is a service which you run on your NT box. It's job is to expose ODBC resources via TCP/IP, making it very easy to access from non-windows platforms. I've never used it, but they claim that it's pretty fast.

    And lastly, you could always consider a middleware/application server product. That might be a bit much for what you're looking to do, but you never know. Anything from IBM's Websphere to the open source JBoss, there's a lot available.

    Good luck!
    • Comment on Re: Connecting from *nix/Apache/mod_perl to SQL Server
  • Log In?

    What's my password?
    Create A New User
    Node Status?
    node history
    Node Type: note [id://130964]
    [LanX]: it was just after Trump-ageddon and the Americans thought I'm ridiculing them ;)
    Discipulus was not the title a bit provoking? ;=)
    [LanX]: I have a degree in cynism. ..
    LanX is the PROVO-KING

    How do I use this? | Other CB clients
    Other Users?
    Others browsing the Monastery: (8)
    As of 2017-11-20 19:47 GMT
    Find Nodes?
      Voting Booth?
      In order to be able to say "I know Perl", you must have:

      Results (292 votes). Check out past polls.