From: "Jack McKinney" <[EMAIL PROTECTED]>
Date sent: Fri, 27 Apr 2001 10:41:29 -0500
To: [EMAIL PROTECTED]
Subject: Re: DBD::ODBC doesn't work!!!
Jack,
> Big Brother tells me that Bodo Eing wrote:
> > Jack,
> >
> > > Help! I cannot get DBD::ODBC to work. I am connecting to the
> > > MSSQL 2000 database with:
> > >
> > > $db = DBI->connect("dbi:odbc:MSSQLTEST");
> > >
> >
> > In the first place, try connecting with the correct capitalization of
> > the driver and add error checking:
> >
> > $db = DBI->connect("DBI:ODBC:MSSQLTEST") or die DBI::errstr();
>
> Hmmm... the examples in the docs all had lower case. I would think that
> the output I am getting (see previous email for errors messages and a copy
> of the script) would not mention unixODBC if the lower case dbi and odbc
> did not work, since it wouldn't look for an ODBC manager...
> My code (see previous email) does error check here, and the code does
> not complain.
>
Sorry to answer too quickly, but from your original post it was not
clear to me that I am obviously on the wrong OS to answer your
question. On windows, DBI insists on the correct capitalization of
the DBD.
Bodo
[EMAIL PROTECTED]