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 _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
