[Koha] Problems with Apache when trying to access Koha Admin

Barry Cannon barry at oslo.ie
Wed Dec 7 22:27:08 NZDT 2011


            The problem here is that 'koha' user doesn't have access to the
koha database with the credentials supplied. Can you check the user and
password you specified in the /etc/koha/koha-conf.xml file? (search for
"db_scheme" and you'll see the database details below that)


Once you find the details try and login to MySQL from the command line with
those details:


mysql -u koha --password="PutYourPasswordHere"


If you don't get access then you will need to login to the MySQL database
(as root or dba) and grant the koha user the correct permission on the koha
database as directed in the install manual (replace parts in < > to fit your


grant all on <kohadatabasename>.* to '<kohadatabaseuser>'@'localhost'
identified by '<mysql-password-for-kohadatabaseuser>'


You should be able to run the web installer then.


Hope this helps



barry at oslo.ie




From: koha-bounces at lists.katipo.co.nz
[mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Sangduen Pongput
Sent: 07 December 2011 08:55
To: koha at lists.katipo.co.nz
Subject: [Koha] Problems with Apache when trying to access Koha Admin


Dear All


I has a same problem as another post about Problems with Apache when trying
to access Koha Admin.

Have anyone explian clearly step by step how to solve that.




I have installed koha 3.06.01 following the instructions online for Ubuntu

Everything went well until now. When I try to go to I get
this message.

Software error:

Access denied for user 'koha'@'localhost' (using password: YES) at
/usr/share/koha/lib/C4/Context.pm line 693.
Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 33.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 33.
Compilation failed in require at
/usr/share/koha/intranet/cgi-bin/mainpage.pl line 26.
BEGIN failed--compilation aborted at
/usr/share/koha/intranet/cgi-bin/mainpage.pl line 26.

Any ideas on how I fix this?



  <http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/04.gif>  Thank you for
your kind cooperation.
      Best regards,  

Sangduen Pongput    
The Secretariat of the Senate, Bureau of Parliamentary Studies, Library and
Museum Group 
4 U-Thong Nai Road, Dusit District, Bangkok 10300 THAILAND 
Tel +662 831 9313- 4      Mobile Phone +66 89 122 5347  Fax +662 831 9308
or +662 831 9314 


sangduen at senate.go.th, sangduenifla at gmail.com, sangduen_p at hotmail.com,
m091225347 at yahoo.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.katipo.co.nz/pipermail/koha/attachments/20111207/4bbb5e3d/attachment.html>

More information about the Koha mailing list