9 messages in com.mysql.lists.perlRe: DBD::mysql anonymous user problem
FromSent OnAttachments
Dave Howorth21 Jun 2005 01:49 
Rudy Lippan21 Jun 2005 05:42 
Dave Howorth21 Jun 2005 06:27 
Dave Howorth21 Jun 2005 07:45 
Michael Stassen21 Jun 2005 10:38 
Dave Howorth23 Jun 2005 04:16 
Jochen Wiedmann23 Jun 2005 04:36 
Michael Stassen23 Jun 2005 22:39 
Dave Howorth24 Jun 2005 02:39 
Subject:Re: DBD::mysql anonymous user problem
From:Dave Howorth (dhow@mrc-lmb.cam.ac.uk)
Date:06/21/2005 06:27:29 AM
List:com.mysql.lists.perl

Rudy Lippan wrote:

On Tue, 21 Jun 2005, Dave Howorth wrote:

I'm trying to upgrade DBD::mysql and having trouble with the anonymous user for the test database. When I run the install the tests fail with messages like:

DBI connect('test','',...) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/50chopblanks.t line 57

Did you set the username and password when you ran Makefile.PL?

No. I should have mentioned that I'm using CPANPLUS for the install so there's no opportunity to interact. If I run the tests manually, I can edit mysql.mtest to the user 'test' that I added, but I don't understand why the default CPAN installation isn't working. I thought it was all supposed to default to the anonymous user?

Thanks, Dave