Well,
the message "Access denied for user 'www-data'@'localhost' (using password:
NO)" clearly indicates that something is wrong
with the access rights of the Koha user (in this case www-data)

Please check your /etc/koha/koha-conf.xml, at the bottom is declared which
database, host, user and password you are using.
Verify with the command line client "mysl"

And normally 'www-data' is the apache user, at least on Debian/Ubuntu :)

Bernardo
-- 
Bernardo Gonzalez Kriegel
bgkrie...@gmail.com



On Tue, Sep 4, 2012 at 10:43 AM, Hartman, David W. - GBTS Library <
david.w.hart...@disney.com> wrote:

> No, we are not using apache server and Koha was working on Friday .. it
> has suddenly stopped (broke over the weekend).  No system changes were
> made.  ****
>
> ** **
>
> *From:* Bernardo Gonzalez Kriegel [mailto:bgkrie...@gmail.com]
> *Sent:* Tuesday, September 04, 2012 9:42 AM
> *To:* Hartman, David W. - GBTS Library
> *Cc:* koha@lists.katipo.co.nz
> *Subject:* Re: [Koha] My Koha is down .. Software error?****
>
> ** **
>
> Software error:
>
> Access denied for user 'www-data'@'localhost' (using password: NO) at
> /usr/share/koha/lib/C4/Context.pm line 758.****
>
> Are you using the apache user "www-data" to access Koha's database?****
>
> I think that is good practice to use a different database user for koha,**
> **
>
> as well a system user to own all the files.****
>
> ** **
>
> Bernardo****
>
> ** **
>
> ** **
>
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to