Re: [dbi] DSN's and DRIVER attribute

2005-06-02 Thread Martin J. Evans
TECTED] Sent: Thursday, June 02, 2005 5:00 AM To: dbi-users@perl.org Subject: Re: [dbi] DSN's For the DSN-less connections, see http://www.connectionstrings.com -- great resource. Dan On 6/2/05, Martin J. Evans <[EMAIL PROTECTED]> wrote: Sharon, The string after "ODB

RE: [dbi] DSN's and DRIVER attribute

2005-06-02 Thread Smith, Sharon Michelle (OSLO)
r a DBD::ODBC driver module I've installed on a Linux environment.) Thanks for any info... ~Sharon -Original Message- From: Dan Scott [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005 5:00 AM To: dbi-users@perl.org Subject: Re: [dbi] DSN's For the DSN-less connections, see ht

Re: [dbi] DSN's

2005-06-02 Thread Dan Scott
For the DSN-less connections, see http://www.connectionstrings.com -- great resource. Dan On 6/2/05, Martin J. Evans <[EMAIL PROTECTED]> wrote: > Sharon, > > The string after "ODBC:" is usually a DSN name as in: > > DBI->connect("dbi:ODBC:mydsn",...) > > or > > DBI->connect("dbi:ODBC:DSN=myds

RE: [dbi] DSN's

2005-06-02 Thread Martin J. Evans
Sharon, The string after "ODBC:" is usually a DSN name as in: DBI->connect("dbi:ODBC:mydsn",...) or DBI->connect("dbi:ODBC:DSN=mydsn") where mydsn is an entry in your unixODBC odbc.ini file defining host, port, dbname e.g. [mydsn] driver = freetds host = something.something.something port = 1