安装DBD::mysql make test不通过
安装DBD::mysql make test不通过
我的mysql版本是:Server version: 5.0.51a-3ubuntu5.4 (Ubuntu)
错误代码如下:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base....................ok
t/10connect.................ok
t/20createdrop..............ok
t/25lockunlock..............ok
t/29warnings................ok
t/30insertfetch.............ok
t/31insertid................ok
t/32insert_error............ok
t/35limit...................ok
t/35prepare.................ok
t/40bindparam...............ok
t/40bindparam2..............ok
t/40blobs...................ok
t/40catalog.................ok
t/40keyinfo.................ok
t/40listfields..............ok
t/40nulls...................Array found where operator expected at 1 line 1, at end of line
(Missing operator before ?)
String found where operator expected at 1 line 1, near "@'localhost' for routine '"
(Missing operator before ' for routine '?)
Bareword found where operator expected at 1 line 1, near "' for routine 'test"
(Missing operator before test?)
Unquoted string "test" may clash with future reserved word at 1 line 1.
ok
t/40numrows.................ok
t/40server_prepare..........ok
t/40server_prepare_error....ok
t/40types...................ok
t/41bindparam...............ok
t/41blobs_prepare...........ok
t/42bindparam...............ok
t/50chopblanks..............ok
t/50commit..................ok
t/55utf8....................ok
t/60leaks...................skipped
all skipped: Skip $ENV{SLOW_TESTS} is not set
t/65types...................ok
t/70takeimp.................ok
t/71impdata.................ok
t/75supported_sql...........ok
t/76multi_statement.........ok
t/80procs...................DBD::mysql::db do failed: alter routine command denied to user ''@'localhost' for routine 'test.testproc' at t/80procs.t line 41.
DBD::mysql::db do failed: alter routine command denied to user ''@'localhost' for routine 'test.testproc' at t/80procs.t line 41.
# Looks like you planned 29 tests but only ran 2.
# Looks like your test died just after 2.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-29
Failed 27/29 tests, 6.90% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/80procs.t 255 65280 29 54 186.21% 3-29
1 test skipped.
Failed 1/34 test scripts, 97.06% okay. 27/704 subtests failed, 96.16% okay.
make: *** [test_dynamic] 错误 255
望大虾帮帮小弟!