|
From: Jesse L. <jes...@gm...> - 2006-08-14 20:18:33
|
I've followed your steps, DBD::mysql installed successfully. I found there is a other host, so after update mysql root setting, it's been installed. Thanks very much. On 8/15/06, Jamie McCarthy <ja...@mc...> wrote: > OK, so DBD::mysql doesn't install... there are about a million > reasons that could happen. > > One is that it wants to connect to a DB at localhost with no > password. You may not have a DB running at localhost; it may not > allow root connections; it may want a password for root connections. > > If you find that 'mysql -u root -h localhost' works for you from a > root shell, check to see if you have a ~/.my.cnf file that specifies > a password you've forgotten about. > > Do a > > mysql> select * from mysql.user where User='root'; > > and see if a passworded entry pops up. I just checked on one of my > home test boxes, and doing > > mysql> update mysql.user set Password='' where User='root' and > Host='localhost'; > mysql> flush privileges; > > switched my 'make test' for DBD::mysql from > > Failed 20/22 test scripts. 428/434 subtests failed. > > to > > All tests successful, 1 test skipped. > > Of course I reset the password back the way it was, afterwards! > > If that's your issue, feel free to try that. > > If the DB you want to use for testing is on a different host, or you > want to test with a different user or specify a password etc., try > > cpan> look DBD::mysql > # perl Makefile.PL --usage > # perl Makefile.PL --testcustomargs=foobar > # make && make test && make install > > If you just want to skip DBD::mysql's tests altogether, try > > cpan> force install DBD::mysql > > -- > Jamie McCarthy > http://mccarthy.vg/ > ja...@mc... > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-general > |