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
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?
You can set the DBI_USER and DBI_PASS environment variables to change what is used by the DBD::mysql test suite.