Software error: when trying to open Koha web installer
hi guys i have installed koha but now when i try to connect to its web installer so that i can finish up the configurations i get the following errorSoftware error: Access denied for user 'admin'@'localhost' (using password: YES) at /usr/share/koha/lib/C4/Context.pm line 758. Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 31. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 31. Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 25. BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 25. For help, please send mail to the webmaster (webmaster@LIBRARY), giving this error message and the time and date of the error. any help will be appreciated. thanks
* jackymasibo (jmasibo@gmail.com) wrote:
hi guys i have installed koha but now when i try to connect to its web installer so that i can finish up the configurations i get the following errorSoftware error:
Access denied for user 'admin'@'localhost' (using password: YES) at /usr/share/koha/lib/C4/Context.pm line 758. Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 31. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 31. Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 25. BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 25.
For help, please send mail to the webmaster (webmaster@LIBRARY), giving this error message and the time and date of the error.
It looks to me like the user in your koha-conf.xml doesn't have permission to connect to the database. How did you install? You probably need to fix the mysql permissions Chris -- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
thanks chris, i edited /etc/koha/koha-conf.xml and edited username/password fields for mysql header and gave root/root-password .Then the web-instaleer worked fine. am so happy ! On Fri, Jul 13, 2012 at 1:27 PM, Chris Cormack <chrisc@catalyst.net.nz>wrote:
hi guys i have installed koha but now when i try to connect to its web installer so that i can finish up the configurations i get the following errorSoftware error:
Access denied for user 'admin'@'localhost' (using password: YES) at /usr/share/koha/lib/C4/Context.pm line 758. Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 31. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line
* jackymasibo (jmasibo@gmail.com) wrote: 31.
Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 25. BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 25.
For help, please send mail to the webmaster (webmaster@LIBRARY), giving this error message and the time and date of the error.
It looks to me like the user in your koha-conf.xml doesn't have permission to connect to the database.
How did you install? You probably need to fix the mysql permissions
Chris
-- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
Op 13-07-12 13:18, jackymasibo schreef:
i edited /etc/koha/koha-conf.xml and edited username/password fields for mysql header and gave root/root-password .Then the web-instaleer worked fine.
Nooo! Bad thing to do. You should instead provide the database user you created for Koha, and the password for that. The mysql root user should be used for administration tasks only. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
participants (3)
-
Chris Cormack -
jackymasibo -
Robin Sheat