Download and install
http://www.perl.com/CPAN-local/authors/id/J/JW/JWIED/DBD-mysql-2.0901.tar.gz
> Hi,
>
> I am a newbie and hope someone can she light on why I can't get the
> DBD::mysql connection working in my perl script. The script is a test one
> and very simple.
>
> I have the mysql daemon running and mysqladmin works, and DBI is installed
> too. I went through the installation process for DBD and have also placed
> the /usr/local/mysql path reference in the environment. These are the
> errors below:
>
> -------------------------------
> Can't locate DBD/mysql.pm in @INC (@INC contains:
> /opt/perl5/lib/5.6.0/PA-RISC1.1 /opt/perl5/lib/5.6.0
> /opt/perl5/lib/site_perl/5.6.0/PA-RISC1.1 /opt/perl5/lib/site_perl/5.6.0
> /opt/perl5/lib/site_perl .) at create_table.pl line 8.
> BEGIN failed--compilation aborted at create_table.pl line 8.
> -----------------------------------------------------------
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php