> 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();
DBI->connect("dbi:ODBC:MSQLTEST") or die DBI::errstr(); # or whatever
Nonetheless I am immediately suspect about this. What is the full
information on the DSN? More importantly have you verified this connection
with any external tools as well as providing a DSNless connect string to the
DBI?
Note that your error is from unixODBC so it is what is having problems with
"MSQLTEST". Not DBI.
Neil
__________________________________________________________________________
Please Note :
Only the intended recipient is authorised to access or use this e-mail. If
you are not the intended recipient,
please delete this e-mail and notify the sender immediately. The contents
of this e-mail are the writer's
opinion and are not necessarily endorsed by the Gunz Companies unless
expressly stated.
We use virus scanning software but exclude all liability for viruses or
similar in any attachment.