Basically you need to make a database called 'test' which is somewhat standard for mysql installations, these scripts will run a series of tests like creating tables and trying different kinds of queries, it wouldn't be a good idea to try it on a production database. Make sure the user has rights to the database.
Curtis rmp dmd wrote: > Hi, > > Just want to follow-up on this. > > when I run > > #perl Makefile.PL --testuser=root --testpassword=xxxx > #make > #make test > > its getting error "all skipped: ERROR: Unknown database 'test' Can't > continue test > t/20createdrop..............skipped" > > when I run > > #perl Makefile.PL --testuser=root --testpassword=xxxx --testdb=rt3 > #make > #make test > > it will just stay on > > t/75supported_sql...........ok > t/76multi_statement.........ok 1/24 > I waited for couple of hours but nothing is hapeening. I also tried > changing the testdb to other databases. > > Please help on how to proceed. > > > Thanks! > Roehl > > > On Fri, Aug 29, 2008 at 3:22 PM, rmp dmd <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Thank you very much. > > Does this process take times? > > I run > > #perl Makefile.PL --testuser=root --testpassword=xxxx --testdb=rt3 > #make > #make test > > and its been on > > t/75supported_sql...........ok > t/76multi_statement.........ok 1/24 > for quite a while > > - Roehl > > > On Fri, Aug 29, 2008 at 2:50 PM, Ruslan Zakirov > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > On Fri, Aug 29, 2008 at 10:46 PM, rmp dmd > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > It seems that it creating new > ~/.cpan/build/DBD-mysql-<version> everytime > > install DBD::mysql is run. The changes on Makefile.PL is > overwritten. > > > > Any other way? > cd ~/.cpan/build/DBD-mysql-<version> > perl Makefile.PL ... > make > make test > make install > > > > > > > On Thu, Aug 28, 2008 at 11:56 AM, David Svejda > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > > wrote: > >> > >> 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 > <http://wiki.bestpractical.com/> > > Commercial support: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > > > > Discover RT's hidden secrets with RT Essentials from > O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > <http://rtbook.bestpractical.com/> > > > > > > -- > Best regards, Ruslan. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 _______________________________________________ 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