Re: connecting to remote MSSQL server from DBI



Remote connections are done with Gofer:

http://search.cpan.org/~timb/DBI-1.56/lib/DBD/Gofer.pm

The MacOSX box uses DBD::Gofer to talk to the DBI process over http on the
win32 box, which is accessing the MS SQL using the DBD::ODBC.

I never used this, but thats my understanding. See the docs.

Personally, just for speed alone I would only do this as a last resort. If
your DB can be migrated to SQLite you may have a much easier time of things
since SQLite runs on most platforms and is bundled in the DBD.

Alex

On Mon, 11 Jun 2007 09:34:38 -0400, Jordan Mueller wrote
Hello,

I have a general question and wonder if anyone here may have some
advice on where to start before I try putting together a solution.

Here is the situation:

Webserver: MAC OS X server running Apache 1.x
DB: On a remote server running MS SQL server

How do I set up a connection to this data base using DBI? When I
have been writing perl scripts on win32 web servers, I set up a DSN
(Data source name) on the web server that is an ODBC connection to
the database server and then connect using DBI::ODBC.

Is there a corollary to this on a MAC OS X server? Or should I go about
connecting in a different way.

Sorry for the general nature of this question. I tried looking
aroun don the net first and I really could find anything for this
specific situation.

Thanks,

Jordan

.



Relevant Pages

  • Re: Outgoing POP3 email missing/lost/not received
    ... Funny thing is that I have had this ISP for 8 years and it has always been ... It looks like when you last ran CEICW, you set the ISP's mail server to: ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • Re: Cannot connect client to server 2003
    ... you need to reconfigure the IP schema of your SBS ... On the SBS 2003 Server open the Server Management console. ... On the Connection Type page, click Broadband, and then click Next. ... Alternate DNS server, type the IP addresses that are provided by your ISP ...
    (microsoft.public.windows.server.sbs)
  • Re: Outgoing POP3 email missing/lost/not received
    ... ISP's mail server instead of the domain name on the ... SUMMARY OF SETTINGS FOR CONFIGURE E-MAIL AND INTERNET ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • Re: Networking Question - VLANs on SBS 2003 Premium SP1
    ... port on the old router so I now have a segregated WLAN. ... be sure you do not enable any DHCP server in internal network. ... On the Connection Type page, click Broadband, and then click Next. ... On the Network Connection, You must enable and configure the network ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... In the DHCP Console... ... Right click the DHCP server icon, ... Server Local Area Connection: ... Les Connor [SBS Community Member - SBS MVP] ...
    (microsoft.public.windows.server.sbs)