The output from running the script is
Connecting to DBD::MySQL
Issuing Connect command
SV = RV(0x1c09044) at 0x1db4e44
REFCNT = 1
FLAGS = (ROK)
RV = 0x1aa9f08
(in cleanup) dbih_getcom handle DBI::dr=HASH(0x1aa9f08) is not a DBI
handle (has no magic) at D:/Perl/lib/DBI.pm line 481.
SV = RV(0x1c09044) at 0x140fd5c
REFCNT = 1
FLAGS = (ROK,READONLY)
RV = 0x1aa9f08
(in cleanup) dbih_getcom handle DBI::dr=HASH(0x1aa9f08) is not a DBI
handle (has no magic) at D:/Perl/lib/DBI.pm line 482.
DBD::mysql initialisation failed:
dbih_setup_attrib(DBI::dr=HASH(0x1aa9f08)): FetchHashKeyName not set and no
parent supplied at D:/Perl/lib/DBI.pm line 657.
(in cleanup) dbih_getcom handle DBI::dr=HASH(0x1aa9f08) is not a DBI
handle (has no magic) at D:/Perl/lib/DBI.pm line 481.
(in cleanup) dbih_getcom handle DBI::dr=HASH(0x1aa9f08) is not a DBI
handle (has no magic) at D:/Perl/lib/DBI.pm line 482.
Rakesh.
> -----Original Message-----
> From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 15, 2002 6:01 PM
> To: 'Rakesh Mahajan'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Perl and MySQL
>
>
> Where was the error message for DBD::MySQL trace log? There wasn't an
> error from what you posted. Try retrieving results and printing them.
>
> Ilya
>
> > -----Original Message-----
> > From: Rakesh Mahajan [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 15, 2002 4:55 PM
> > To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> > Subject: RE: Perl and MySQL
> >
> >
> > >
> > > Before trying to make this many intermediate lib's work
> > properly, have
> > > you tried to access the database via DND::MySQL? If the native
> > > interface doesn't work you won't get anywhere. After that's
> > cleaned up
> > > (e.g., you know the passwords and paths work) you'll be
> > better able to
> > > isolate any problems that show up in the JDBC interface.
> > >
> > >
> > I am able to access the database using the JDBC driver and a
> > Java application. I have tried using DBD::mySQL and get the
> > same error (code was at the end of the original message).
> >
> > Rakesh.
> >
>