Did you install the DBD-MySQL after the DBI install? You'd need to install whatever DBD for db drivers you'd want to use through the DBI.
-----Original Message----- From: Grace Tsai [mailto:gtsai@;bnl.gov] Sent: Wednesday, October 23, 2002 2:05 PM To: [EMAIL PROTECTED] Subject: How to install dbi/perl/ in AIX 5.1 to access MySQL? Hi, I got a brand new RS/6000 machine, I just installed the AIX 5.1, and the two packages perl 5.6.1 and MySQL, both are from AIX Toolbox. Now I need to install the DBI so I can use Perl to access the MySQL database. I download DBI-1.30 from http://www.cpan.org/modules/by-category/07_Database_Interfaces/DBI and following the instructions in the README file perl Makefile.PL make make test make install Then tried to access the MySQL by using a perl script which runs in the other AIX machine without any problem. I got the following errors after run: install_driver(mysql) failed: Cant locate DBD/mysql.pm in @INC... isstall_driver(mysql) failed: Cant locate loadable object for module DBD_mysql in @INC.... It seems the DBD cant recognize the MySQL. There is no file related with mysql in the directory .../DBD/ Could you tell me what procedure I missed? How to relate the DBD with mysql? Thanks. Grace
