Re: [CDBI] Two MySQL tests failed during Class::DBIinstallation; how I fixed 'em
"Todd W" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <003b01c74069$3c569740$6801a8c0@trwlapgateway> |
From: "Dave Baker" <davebaker-G6Ux/[email protected]> > Todd W <trwww@...> writes: > >> Thats fine. There are also environment variables that you can set so you >> dont have to modify the test files. > > Thanks! I couldn't find 'em in Makefile.PL. Can you elaborate for me? Well its a mysql thing actually: $ MYSQL_PWD=mysqlpass sudo perl -MCPAN -e 'test Class::DBI' ... t/10-mysql...............ok ... You just set the environment variable MYSQL_PWD and the mysql client will use it: $ MYSQL_PWD=mysqlpass mysql -uroot Todd W.