<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
shankarao chavan wrote:
<blockquote cite="mid:282640.7936.qm@web8702.mail.in.yahoo.com"
type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;"
valign="top">Sir/Madam,<br>
<br>
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. <br>
<br>
Screen shot of the problem is given below:<br>
<h1>Koha error</h1>
<p>The following fatal error has occurred:</p>
<pre><code>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.
</code></pre>
<br>
<br>
Thanks and Regards,<br>
Shankar Chavan<br>
</td>
</tr>
</tbody>
</table>
<br>
</blockquote>
<font face="serif">Dear Shankar<br>
<br>
This is a mysql conection error, you need to give priviliges to the
koha database user ,<br>
<br>
try this...<br>
<br>
log into mysql<br>
<br>
#mysql -u root -p (after this you will get password prompt where u
need to enter root password)<br>
<br>
and type the following.....<br>
(please verify your koha database, database user & password in
/etc/koha/koha-conf.xml)<br>
<br>
mysql> grant all on <kohadatabase>.* to
'<databaseuser>'@'localhost' identified by '<somepassword>';<br>
mysql> flush privileges;<br>
mysql> quit; <br>
<br>
after this restart apache and type </font><a class="moz-txt-link-freetext" href="http://192.168.1.96:8080">http://192.168.1.96:8080</a> <br>
<br>
<br>
Anand Sharma<br>
RDG Library Services<br>
Mumbai, India<br>
<font face="serif"><br>
</font><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>