Good God, how humiliating!
For want of a nail, I suppose. Thanks, Ronald - this has solved my
"problem!" I reinstalled Perl twice trying to fix the prob, but the main
perl path remained "/usr/local/bin/perl" rather than "/usr/bin/perl."
For those of you who dedicated any brainpower to this - my sincere apologies
for wasting your time. Ronald, I owe you a cigar!
Thanks for everyone's help,
Stefan Antonowicz
"Crow is sooo TASTY!"
-----Original Message-----
From: Ronald J Kimball [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 10:29 AM
To: Stefan Antonowicz
Cc: [EMAIL PROTECTED]
Subject: Re: Problems running DBD::mysql
On Mon, Jun 25, 2001 at 12:02:05PM -0400, Stefan Antonowicz wrote:
> #!/usr/bin/perl -w
^^^^^^^^^^^^^
> [...]
> my $dbh = DBI->connect("DBI:mysql:$db:$host",$id,$pwd);
> [...]
> I get this error message:
> ******
> DBD::mysql initialisation failed: Can't locate object method "driver" via
> package "DBD::mysql" /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm
line
> 526.
>
> Perhaps the capitalisation of DBD 'mysql' isn't right. at ./dbitest.pl
line
> 11
> *****
> This is pissing me off to no end, because when I run:
> perl -MDBI -e 'print join("\n",DBI->available_drivers) . "\n";'
^^^^
>
> it kicks back this list:
> ADO
> ExampleP
> Multiplex
> Proxy
> mysql
Are you sure that /usr/bin/perl is the first perl in your path? Maybe you
have two different installations of perl.
`which perl`
Ronald