Skip Menu |

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

Report information
The Basics
Id: 72501
Status: rejected
Priority: 0/
Queue: DBD-mysql

Owner: Nobody in particular
Requestors: garen.p [...]

Bug Information
Severity: Critical
Broken in: 4.020
Fixed in: (no value)

Subject: --testuser, --testpssword long options to Makefile.PL do not work on Windows
Download (untitled) / with headers
text/plain 668b
The Makefile.PL --help options list a number of explicit options that can be set, but for whatever reason do not work in Windows: C:\Perl\strawberry\5.12.3\cpan\build\DBD-mysql-4.020-1t6cCz>perl Makefile.PL --libs="-LE:\MySQL\5.5.13\lib -lmysqlclient -lz" --cflags=- IE:\MySQL\5.5.13\include" --testuser testuser --testpassword testuser -- testhost --testdb test E:\MySQL\5531E3~1.13\bin\MYSQLA~1.EXE: connect to server at 'localhost' failed error: 'Access denied for user 'ODBC'@'localhost' (using password: NO)' Problem running E:\MySQL\5531E3~1.13\bin\MYSQLA~1.EXE - aborting ... The error above occurs because the --testuser option isn't picked up.
Download (untitled) / with headers
text/plain 567b
The options were not picked up because you need to specify perl Makefile.PL --testuser=foo instead of perl Makefile.PL --testuser foo just as perl Makefile.PL --help says: --testuser=<user> Use the username <user> for running the test suite; defaults to no username --testpassword=<pwd> Use the password <pwd> for running the test suite; defaults to no password --testhost=<host> Use <host> as a database server for running the test suite; defaults to localhost.

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

Please report any issues with to