<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.2">
</HEAD>
<BODY>
This is a mysql permissions problem. Check:<BR>
<BR>
- that you created the database<BR>
- created the user with grant all<BR>
- flushed the priviledges<BR>
- can connect using mysql -u kohadmin -pyour_password koha<BR>
<BR>
Len<BR>
<A HREF="http://www.len.ro">www.len.ro</A><BR>
<BR>
On Thu, 2008-06-05 at 18:21 -0700, Aren Olson wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
I'm installing the latest koha 2 on Ubuntu 8.04, and installation
fails with the following error:

 CREATING DATABASE

Creating the MySQL database for Koha...

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 &quot;prepare&quot; on an undefined value at
scripts/updater/updatedatabase line 1553.
Problem updating database...

any ideas?

Please CC me as I'm not subscribed to the list.

Thanks,
Aren Olson

</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>