[Koha] Koha error

Anand Sharma anand at webodesk.com
Tue Dec 9 01:03:34 NZDT 2008


shankarao chavan wrote:
> Sir/Madam,
>
> I installed Koha-3.0 on Ubuntu.  After installation  Koha database is 
> empty. When I tried to by Web Installer by giving  IP Address:8080  
> (192.168.1.96:8080).  I am getting the error.  I am not able findout 
> what is problem please anyone can help me to solve this.
>
> Screen shot of the problem is given below:
>
>
>   Koha error
>
> The following fatal error has occurred:
>
> |Can't connect to MySQL server on '192.168.1.96' (111) at /usr/share/perl/5.8/CGI/Carp.pm line 314.
> Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line 25.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm line 25.
> Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 24.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm line 24.
> Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 27.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line 27.
> 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 24.
> BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line
>  24.
> |
>
>
> Thanks and Regards,
> Shankar Chavan
>
>
Dear Shankar

This is a mysql conection error, you need to give priviliges to the koha 
database user ,

try this...

log into mysql

#mysql -u root -p   (after this you will get password prompt where u 
need to enter root password)

and type the following.....
(please verify your koha database, database user & password in 
/etc/koha/koha-conf.xml)

mysql> grant all on <kohadatabase>.* to '<databaseuser>'@'localhost' 
identified by '<somepassword>';
mysql> flush privileges;
mysql> quit;

after this restart apache and type http://192.168.1.96:8080


Anand Sharma
RDG Library Services
Mumbai, India











-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20081208/fd66e723/attachment-0001.htm 


More information about the Koha mailing list