Re: DBD::mysql anonymous user problem

Dave Howorth <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Organization MRC Centre for Protein Engineering
Message-ID <[email protected]>
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


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.