develooper Front page | perl.dbi.users | Postings from February 2001

MySQL DBD Problem

Thread Next
From:
Gaurav.Gandhi
Date:
February 14, 2001 00:57
Subject:
MySQL DBD Problem
Message ID:
4DE51758E7CDD411A78700508B6FEB1E01238C9C@ban03xbindge.geind.ge.com
Hi,
I get the following error while running a perl script conataing DBI
functions for MySQL.

install_driver(mysql) failed: Can't locate loadable object for module
DBD::mysql
 in @INC (@INC contains: /usr/local/Msql-Mysql-modules-1.2215/
/usr/local/Msql-M
ysql-modules-1.2215/mysql/ /usr/local/Msql-Mysql-modules-1.2215/mysql/lib/
./ /u
sr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/
5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at (eval 1) line 3
Perhaps a module that DBD::mysql requires hasn't been fully installed
 at /usr/local/apache/cgi-bin/cvsweb.cgi line 339 

I used the following at the start of my perl script, because I installed the
Mysql DBD module in "/usr/local/Msql-Mysql-modules-1.2215/", so that these
paths get included in @INC

use lib "./";
use lib "/usr/local/Msql-Mysql-modules-1.2215/mysql/lib/";
use lib "/usr/local/Msql-Mysql-modules-1.2215/mysql/";
use lib "/usr/local/Msql-Mysql-modules-1.2215/";

Can anyone please help,
thanks,

Gaurav

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About