Here's one way to do it:

After it fails in CPAN, type
cpan> look DBD::mysql

Then you'll be in the build directory.  Then you can type

$ perl Makefile.PL <args>

where <args> are the necessary login information for your database.  You can
type perl Makefile.PL --help for more info.  If I still had it on my
machine, I could give it to you verbatim, but it's been awhile. :)

Then:
$ make
$ make test
$ sudo make install

Then you can type exit to return to CPAN.

HTH,
David



On 3/29/02 9:36 AM, "Dave Johnson" <[EMAIL PROTECTED]> wrote:

> I'm trying to use CPAN to install the DBD::mysql, the DBI module
> installed ok, but the DBD::mysql module will not install because it
> fails the tests because it does not have the root password for mysql.
> How do i pass the mysql passwort so it can pass the install test?
> 
> thanks
> 
> Dave
> 
> 

Reply via email to