Home > Archive > MySQL Server Forum > August 2005 > Re: installing perl on mysql on suse 9.3 - error because root user









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: installing perl on mysql on suse 9.3 - error because root user
Bill Karwin

2005-08-04, 8:23 pm

Angus Comber wrote:
> I have set a password for the mysql root user so when I do this:
>
> shell> perl -MCPAN -e shell
> cpan> install DBI
> cpan> install DBD::mysql
> install DBD::mysql fails Is there a way I can run install DBD::mysql and
> supply the password as a parameter - or get it to prompt me for it?


Yes, Makefile.PL for DBD::mysql has a flag called "--test-pass". Run
perl Makefile.PL --help for more information.

You'll probably not be able to use the automated "install DBD::mysql"
from the cpan shell. Run "look DBD::mysql" from the cpan shell, and
it'll open a shell for you in the local directory in which it tries to
build that module and run tests. Then you can run Makefile.PL yourself
and give it the optional arguments.

Regards,
Bill K.
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com