Skip Menu |
 

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 17591
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: janra [...] write-on.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: mysql connection test fails - insecure default
Download (untitled) / with headers
text/plain 584b
When installing DBD::mysql through the CPAN shell, it never stops to ask me what username/password to use for the tests where it connects to mysql. It just uses user root and a blank password. So, I can either leave mysql insecure while installing DBD::mysql, or I can't use CPAN. I did notice in the documentation that you can specify the user and password by changing them in the test configuration - but you can't do that via CPAN. (At least not that I could find!) Would it be possible for the test script to prompt for a username and password before doing the connection tests?
Download (untitled) / with headers
text/plain 113b
You can set the DBI_USER and DBI_PASS environment variables to change what is used by the DBD::mysql test suite.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.