freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] issues connecting with perl DBD::ODBC
- From: "Dan Wierenga" <dwierenga AT valueclick.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] issues connecting with perl DBD::ODBC
- Date: Tue, 23 Jun 2009 10:56:50 -0700
> -----Original Message-----
> From: freetds-bounces AT lists.ibiblio.org [mailto:freetds-
> bounces AT lists.ibiblio.org] On Behalf Of Kulik, Scott
>
> Anyone have any luck getting connected to a SQL server database with
> DBD::ODBC in perl? I'm hoping to try to get this issue fixed this
week
> but I'm out of ideas.
>
> Here is the output from the script:
>
> [root@trafficdev1 root]# ./test_odbc.pl
>
> Unable for connect to server at ./test_odbc.pl line 7.
When my setup references an invalid host in the connection string, I
get:
Unable for connect to server [unixODBC][FreeTDS][SQL Server]Unable to
connect to data source (SQL-08001)(DBD: db_login/SQLConnect err=-1)
And not the blank $DBI::errstr that you get. The blank errstr is
really odd. When things mysteriously die on Redhat servers with no
error messages, I'm always inclined to have a look at the SELinux logs
to see if SELinux is bushwhacking my connections silently. You might
try looking there.
HTH,
Dan
This email and any files included with it may contain privileged,
proprietary and/or confidential information that is for the sole use
of the intended recipient(s). Any disclosure, copying, distribution,
posting, or use of the information contained in or attached to this
email is prohibited unless permitted by the sender. If you have
received this email in error, please immediately notify the sender
via return email, telephone, or fax and destroy this original transmission
and its included files without reading or saving it in any manner.
Thank you.
-
[freetds] issues connecting with perl DBD::ODBC,
Kulik, Scott, 06/19/2009
-
Re: [freetds] issues connecting with perl DBD::ODBC,
Kulik, Scott, 06/23/2009
-
Re: [freetds] issues connecting with perl DBD::ODBC,
Michael Higgins, 06/23/2009
-
Re: [freetds] issues connecting with perl DBD::ODBC,
Kulik, Scott, 06/23/2009
-
Re: [freetds] issues connecting with perl DBD::ODBC,
Michael Higgins, 06/24/2009
- Re: [freetds] issues connecting with perl DBD::ODBC, Kulik, Scott, 06/24/2009
-
Re: [freetds] issues connecting with perl DBD::ODBC,
Per Stenebo, 06/24/2009
- Re: [freetds] issues connecting with perl DBD::ODBC, James K. Lowden, 06/29/2009
-
Re: [freetds] issues connecting with perl DBD::ODBC,
Michael Higgins, 06/24/2009
-
Re: [freetds] issues connecting with perl DBD::ODBC,
Kulik, Scott, 06/23/2009
- Re: [freetds] issues connecting with perl DBD::ODBC, Dan Wierenga, 06/23/2009
-
Re: [freetds] issues connecting with perl DBD::ODBC,
Michael Higgins, 06/23/2009
-
Re: [freetds] issues connecting with perl DBD::ODBC,
Kulik, Scott, 06/23/2009
Archive powered by MHonArc 2.6.24.