Web Hosting Talk







View Full Version : RaQ 550 & MySQL


CCNST
01-07-2003, 07:03 PM
Today I tried to setup mysql on a RaQ550.
MySQL runs without problems, but when I use the tool
mysql_setpermission (I use that tool on my RaQ4) i get the following error:

Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 /usr/lib/perl5/site_perl .) at /usr/bin/mysql_setpermission line 27.
BEGIN failed--compilation aborted at /usr/bin/mysql_setpermission line 27.

Is DBI.pm not located on the RaQ550?

Bob_Isaac
01-08-2003, 02:15 PM
As the message suggests, you need to install Perl DBI. You could try to install it from CPAN shell by typing "install Bundle::DBI" once you're in the shell. If this fails, you will have to try force install or search the net for options... Perl DBI is not installed on cobalts by default.

Bob

CCNST
01-08-2003, 02:20 PM
Thank you Bob!
I installed the RPMs for RedHat 7.2 i386. (DBI & DBD)
Works fine...

Pingouin
04-12-2003, 09:38 AM
same situation but bigger problem...
When trying to install DBI.pm I get

Failed 16/18 test scripts, 11.11% okay. 721/728 subtests failed, 0.96% okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force


What do I do wrong ?
Perl is V 5.6.0

help greatly appreciated...
thanks,