connect not connecting

2013-06-28 Thread Dan Bent
I have been using DBI for several years, and have a fairly extensive group of programs that relay on DBI to connect to a database and extract data. All my programs use a common library of functions that includes a function which connects to the database: $dsn = 'dbi:ODBC:prod1' ; $user = 'user'

RE: connect not connecting

2013-06-28 Thread eric.berg
Bent Sent: Wednesday, June 26, 2013 4:15 AM To: dbi-users@perl.org Subject: connect not connecting I have been using DBI for several years, and have a fairly extensive group of programs that relay on DBI to connect to a database and extract data. All my programs use a common library of functions

RE: connect not connecting

2013-06-28 Thread John Scoles
is gone or you have no permission on them Find out who changed something on you Cheers John To: db...@comcast.net; dbi-users@perl.org Date: Fri, 28 Jun 2013 13:44:17 -0400 Subject: RE: connect not connecting From: eric.b...@barclays.com DBI-trace(…) might help. You should also review the docs

Re: connect not connecting

2013-06-28 Thread Bruce Johnson
On Jun 28, 2013, at 10:44 AM, eric.b...@barclays.com wrote: DBI-trace(…) might help. You should also review the docs on the use of errstr. You should be using $DBI::errstr, not DBI-errstr to the best of my knowledge and according to the docs. Correct, you need to use either