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
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
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
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