Птаюсь поставить модуль DBD:mysql для Perl# perl -MCPAN -e shell
CPAN> install Digest::MD5
CPAN> install Bundle::libnet
CPAN> install DBI
CPAN> install DBD::mysqlВыкидывает с ошибкой
t/65types...................ok
t/70takeimp.................ok
t/71impdata.................ok
t/75supported_sql...........ok
t/76multi_statement.........ok
t/80procs...................ok 1/29DBD::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.
t/80procs...................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.
*** Error code 255Stop in /root/.cpan/build/DBD-mysql-4.010.
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Bundle summary: The following items in bundle Bundle::DBD::mysql had
installation problems:
DBD::mysqlГуру подскажите что делать.
Тесты отключить ?
>Тесты отключить ?А по поподробней моджно . Плиз.
>А по поподробней моджно . Плиз.здесь случилось нехорошее alter routine command denied to user ''@'localhost' for routine 'test.testproc' at t/80procs.t line 41
или разобраться почему такое случилось, что желательно и правильно. Модуль не смог сделать alter routine. Может из-за настройки прав или конфигурации mysql или свет Солнца отразился в атмосфере Венеры...
или попробовать
force install DBD::mysql
как он и говорит. Но я не гуру, могу научить плохому.
да верно - надо прогнать в режиме FORCE или можно задать логин-пасс