[rt-users] Issues on RT 3.8.1

David Svejda david.svejda at netfriends.cz
Thu Aug 28 11:56:37 EDT 2008


rmp dmd wrote:
> Hi,
>  
> Im getting errors when I run 'install DBD::mysql'.  Is there a way to
> put password when runinng 'install DBD::mysql'.
>  
> Basically put this mysql -uroot -pxxxx
>  
> t/10connect.................skipped all skipped: ERROR: Access denied
> for user 'root'@'localhost' <mailto:'root'@'localhost'> (using password:
> NO) Can't continue test t/20createdrop..............skipped all skipped:
> ERROR: Access denied for user 'root'@'localhost'
> <mailto:'root'@'localhost'> (using password: NO). Can't continue test
> Thanks!

Make some changes in your Makefile. Look into the Makefile.PL and find
"--testuser", you'll see the other options.

Go to your cpan directory (typically ~/.cpan/build/DBD-mysql-<version
etc.>/ and run:

perl Makefile.PL --testuser=<username> --testpassword=<pwd>

then try to install it again.


David





More information about the rt-users mailing list