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

People
Owner: Nobody in particular
Requestors: garen.p [...] gmail.com
Cc:
AdminCc:

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
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 127.0.0.1 --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.
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.