No, everything is installed or you would get a different error. <br><br>The mysql account in your koha-conf.xml file is wrong or not granted permissions. <br><br>Try connecting using mysql on the command line and the info form your file. When that fails, go back and do the "grant..." steps in the install, like:<br>
<br><div style="margin-left: 40px;">grant all on <kohadatabasename>.* to '<kohadatabaseuser>'@'localhost' identified by '<kohadatabaseuserpassword>';<br></div><br clear="all"><br>
-- <br>Joe Atzberger<br>LibLime - Open Source Library Solutions<br>
<br><br><div class="gmail_quote">On Thu, Jul 2, 2009 at 12:37 PM, sdstein7 <span dir="ltr"><<a href="mailto:sdstein7@gmail.com">sdstein7@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I am in the midst of a struggle to install Koha on a Red Hat Linux 5.3<br>
system. I am on the last page of the Fedora INSTALL instructions, and<br>
getting the following error:<br>
<br>
"Can't locate object method "connect" via package "DBI" in<br>
/usr/share/koha/lib/C4/Context.pm line 666"<br>
<br>
Here is Context.pm line 666:<br>
my $dbh=<br>
DBI->connect("DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port",<br>
$db_user, $db_passwd) or die $DBI::errstr;<br>
<br>
I get the same error in two places:<br>
1. Running zebraqueue_daemon.pl<br>
2. Trying to connect to Koha using <a href="http://localhost/phpmyadmin" target="_blank">http://localhost/phpmyadmin</a><br>
<br>
I am certain that DBI is installed (although it took a force install in<br>
CPAN), that the DBI directory and DBI.pm are in the Perl @INC path, and that<br>
the 'use DBI' statement is present in Context.pm.<br>
<br>
I am certain that all the variables in line 666 are defined. I also wrote a<br>
very simple perl script to call<br>
DBI->connect and it failed in the same way.<br>
<br>
Any help is greatly appreciated.<br>
<br>
Thanks,<br>
Sanford Stein<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://www.nabble.com/Can%27t-locate-object-method-connect-via-package-DBI-tp24310000p24310000.html" target="_blank">http://www.nabble.com/Can%27t-locate-object-method-connect-via-package-DBI-tp24310000p24310000.html</a><br>
Sent from the Koha - Discuss mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</font></blockquote></div><br>