Problems installation in beta2
Hello friends I have the following problems installing koha3beta2, when I run $ make test, I replied as follows. Please thanks for the help. t/Labels....................DBI connect('dbname=koha;host=localhost;port=3306','kohaadmin',...) failed: Access denied for user 'kohaadmin'@'localhost' (using password: YES) at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 628 t/Labels....................NOK 1 # Failed test 'use C4::Labels;' # at t/Labels.t line 12. # Tried to use 'C4::Labels'. # Error: Access denied for user 'kohaadmin'@'localhost' (using password: YES) at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 628. # Compilation failed in require at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25. # BEGIN failed--compilation aborted at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25. # Compilation failed in require at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Overdues.pm line 24. # BEGIN failed--compilation aborted at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Overdues.pm line 24. # Compilation failed in require at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Members.pm line 27. # BEGIN failed--compilation aborted at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Members.pm line 27. # Compilation failed in require at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Labels.pm line 26. # BEGIN failed--compilation aborted at /root/kohaclone/blib/PERL_MODULE_DIR/C4/Labels.pm line 26. # Compilation failed in require at (eval 2) line 2. # BEGIN failed--compilation aborted at (eval 2) line 2. # Looks like you failed 1 test of 1. t/Labels....................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/Languages.................ok t/Maintainance..............ok t/Output....................ok t/Record....................ok t/Review....................ok t/Scrubber..................ok 1/10# Note: scrubber test output will have whitespace collapsed for readability # done. t/Scrubber..................ok t/Stats.....................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/Date.t 255 65280 4 6 150.00% 2-4 t/Dates.t 255 65280 126 250 198.41% 2-126 t/Items.t 255 65280 28 31 110.71% 1 14-28 t/Labels.t 1 256 1 1 100.00% 1 t/icondirectories.t 255 65280 1 2 200.00% 1 Failed 5/24 test scripts, 79.17% okay. 146/207 subtests failed, 29.47% okay. atte. Roxana
hello On Tue, May 27, 2008 at 03:07:13PM -0400, Roxana Luz Fleipaz wrote:
Hello friends t/Labels....................DBI connect('dbname=koha;host=localhost;port=3306','kohaadmin',...) failed: Access denied for user 'kohaadmin'@'localhost' (using password: YES) at
looks like you forgot to grant access to kohaadmin. mysql_grant_access () { local base login password base="$1" login="$2" password="$3" cat << GRANTACCESS | mysql "$base" grant all on $base.* to '$login'@'localhost' identified by '$password'; flush privileges; GRANTACCESS } If you are a debian user, look at http://musil.biblibre.com/koha/README.install_koha_on_fresh_debian regards, -- Marc Chantreux BibLibre, expert en logiciels libres pour l'info-doc http://biblibre.com
participants (2)
-
Marc Chantreux -
Roxana Luz Fleipaz