Skip Menu |

This queue is for tickets about the Tie-DBI CPAN distribution.

Report information
The Basics
Id: 18
Status: resolved
Priority: 0/
Queue: Tie-DBI

Owner: LDS [...]
Requestors: mark [...] twoshortplanks

Bug Information
Severity: Unimportant
Broken in: 0.91
Fixed in: (no value)

Subject: Make test fails if root@localhost can't access the mysql database
Download (untitled) / with headers
text/plain 1.3k
Basically, the whole of make test fails if I don't have a passwordless login for root into a local mysql database. The module itself works fine - if I do a force install then I have no complaints. Error message as follows: Running make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i686-linux -I/usr/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/DBI...............ok 1/32DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/DBI.t line 97 t/DBI...............NOK 2Died at t/DBI.t line 128. t/DBI...............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-32 Failed 31/32 tests, 3.12% okay t/RDBM..............ok 1/20TIEHASH: Can't open dbi:mysql:test, Access denied for user: 'root@localhost' (Using password: NO) at t/RDBM.t line 47 t/RDBM..............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-20 Failed 19/20 tests, 5.00% okay And my system: [mark@pate testsuite]$ uname -a Linux pate 2.4.0 #2 SMP Mon Jan 8 12:46:32 GMT 2001 i686 unknown [mark@pate testsuite]$ perl -v This is perl, v5.6.0 built for i686-linux
Download (untitled) / with headers
text/plain 236b
This depends. By default, mysql creates permissions that allow any database named "test" to be accessed without a password. Apparently you have changed this. I will fix Tie::DBI to request authentication information. Lincoln

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

Please report any issues with to