Results 1 to 5 of 5

Thread: Connecting to M$ SQL server

  1. #1
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Connecting to M$ SQL server

    I have to connect from a Linux box using Perl to a :'( M$ SQL :'( server. Has anyone attempted this before?

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Connecting to M$ SQL server

    If you do -- lemme know. I could really use that app/methodology.

  3. #3

    Re:Connecting to M$ SQL server

    I've never used it, but you may want to check out unixODBC (http://www.unixodbc.org/).

  4. #4

    Re:Connecting to M$ SQL server

    [quote author=cloverm link=board=9;threadid=4136;start=0#41058 date=1026480510]I have to connect from a Linux box using Perl to a :'( M$ SQL :'( server. Has anyone attempted this before?[/quote]

    Perl will have a module for this.

    Look for modules with "DBI" and "DBD" in the name. If I remember correctly, you will need the DBI module, and then a second module ("DBD-mysql" or something for a MySQL db). I'm not sure what the exact names will be, but it shouldn't be too hard. Try browsing CPAN

  5. #5
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:Connecting to M$ SQL server

    Got it working!

    You need to install Freetds and the DBD::Sybase module. Everything is described here:
    http://www.freetds.org/userguide/book1.htm

Similar Threads

  1. problem connecting to win2003 server
    By maenemy in forum Windows - General Topics
    Replies: 1
    Last Post: 09-23-2005, 01:40 PM
  2. Connecting to 2003 server
    By friskydrifter in forum Windows - General Topics
    Replies: 6
    Last Post: 08-19-2005, 02:44 PM
  3. Problem in connecting to FTP Server.
    By mohank in forum Linux - General Topics
    Replies: 2
    Last Post: 03-20-2005, 07:20 AM
  4. linux apache+php connecting to MS SQL server
    By ph34r in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 11-21-2002, 06:13 PM
  5. Trouble connecting from Linux Box to Samba Server
    By Pleiades in forum Linux - Hardware, Networking & Security
    Replies: 7
    Last Post: 07-24-2002, 03:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •