[Koha] installer database error

Jochum van der Heide jochum.vanderheide at lifehope.om.org
Tue Apr 24 09:51:26 NZST 2007


Hi,

I'm sorry to bug the list with this question again, but I really need 
some help with the error I get below when running the installer script.

DBI connect('Koha:localhost','kohaadmin',...) failed: Access denied for
user 'kohaadmin'@'localhost' (using password: YES) at
/usr/local/koha/intranet/modules/C4/Context.pm line 411
Can't call method "prepare" on an undefined value at
scripts/updater/updatedatabase line 1553.
Problem updating database...


I did forgot to mention that also get the following error during the 
Perl module check:
Checking perl modules ...
Subroutine PDF::API2::Resource::Font::Postscript::O_RDONLY redefined at 
/usr/lib/perl5/5.8.5/Exporter.pm line 65.
  at /usr/lib/perl5/site_perl/5.8.5/PDF/API2/Resource/Font/Postscript.pm 
line 46

Thanks in advance,

-Jochum


Jochum van der Heide wrote:
> Hi,
> 
> I'm installing Koha on CentOS 4.3. I've installed mysql-4.1.12-3 and all 
> required Perl mods. But it gives me the error:
> 
> ERROR 1045 (28000): Access denied for user 'kohaadmin'@'localhost' 
> (using password: YES)
> 
> DBI connect('Koha:localhost','kohaadmin',...) failed: Access denied for 
> user 'kohaadmin'@'localhost' (using password: YES) at 
> /usr/local/koha/intranet/modules/C4/Context.pm line 411
> Can't call method "prepare" on an undefined value at 
> scripts/updater/updatedatabase line 1553.
> Problem updating database...
> 
> I've searched the list archives and seen this error in relation to 
> MySQL5, so doesn't seem applicable in my case.
> 
> Any idea what I'm doing wrong?
> 


More information about the Koha mailing list