Remote MS ODBC connection syntax? (Maybe OT?)
From: Chris McMahon (chris.mcmahon_at_verint.com)
Date: 03/15/04
- Previous message: Tim Bunce: "Re: Straw poll: Using timestamps for change monitoring with MySQL"
- Next in thread: Tim Johnson: "RE: Remote MS ODBC connection syntax? (Maybe OT?)"
- Maybe reply: Tim Johnson: "RE: Remote MS ODBC connection syntax? (Maybe OT?)"
- Reply: Dennis M. Gray: "RE: Remote MS ODBC connection syntax? (Maybe OT?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 15 Mar 2004 11:44:26 -0700 To: <dbi-users@perl.org>
Hello...
I have the connection working properly on the local machine:
my $dbh = DBI->connect('dbi:ODBC:DBName', 'name', 'pword');
But I can't figure out the syntax to connect to a MS SQL
database on a remote machine. I've tried:
my $dbh = DBI->connect('dbi:ODBC:\\BOXNAME\DBName', 'name', 'pword');
my $dbh = DBI->connect('dbi:ODBC:BOXNAME\DBName', 'name', 'pword');
my $dbh = DBI->connect('dbi:ODBC:192.26.10.20\Instance', 'name',
'pword');
etc.
Any suggestions would be welcome, as the DBI docs say "There is
no standard for the text following the driver name."
- Previous message: Tim Bunce: "Re: Straw poll: Using timestamps for change monitoring with MySQL"
- Next in thread: Tim Johnson: "RE: Remote MS ODBC connection syntax? (Maybe OT?)"
- Maybe reply: Tim Johnson: "RE: Remote MS ODBC connection syntax? (Maybe OT?)"
- Reply: Dennis M. Gray: "RE: Remote MS ODBC connection syntax? (Maybe OT?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|