> After installing the MySql server, I have downloaded the following
> packages :-
Can we take it that you have no problem using mysql other than when
trying to install DBI? Or are you installing mysql and DBI all at once
and you're not sure if the problem is mysql, DBI, DBD, or some
interaction between them?
> During "make test" it fails with the folowing error :-
>
> PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib
> -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use
> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/00base............ok
> t/10dsnlist.........DBI->connect(database=test) failed: Access denied for
> user: 'root@localhost' (Using password: NO) at t/10dsnlist.t line 45
> Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
Which looks like it is trying to access the 'test' database as user
'root' without a password.
Do you have a user that has been granted rights to access the test
database and doesn't need a password? If so, do the 'make test' as that
user. In general it's best to avoid doing builds and tests as root,
anyway...
Note that the error isn't saying that your setup isn't working. Just
that it can't test it because 'root' can't access the database without a
password.
Hope that's some help,
Martin
--
Martin McCarthy /</ PGP key available
[EMAIL PROTECTED] \>\ http://www.ancient-scotland.co.uk
/</ http://www.ehabitat.demon.co.uk
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------