Re: [Koha] problem with koha Mysql connect.
Hurrahhhhhhhhhh! I have got my problem solved. I wish to say thanx to every one who spent their valuable time for me. I did the following. 1.sudo cp -a /usr/share/koha/lib/* /etc/perl 2. sudo /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -r -w and now my catalog search feature is working. ----- Original Message ----- From: Joe Atzberger To: rekhasaraswat Cc: Koha@lists.katipo.co.nz Sent: Monday, July 20, 2009 8:35 PM Subject: Re: [Koha] problem with koha Mysql connect. Now the error is that can't connect to local mysql server through the socket var/run/mysqld/mysqld.sock. There can be several causes: 1.. mysqld isn't running, so /var/run/mysqld/mysqld.sock doesn't exist 2.. The socket is leftover from a previously running instance. Shutdown all mysqld processes and remove the sock file. Then restart mysqld. 3.. the location of the sock file is different. read your config and search your machine to see if other mysqld.sock exist. at the same time when i m trying to rebuild zebra it is showing can't find EXPLAIN schema. Sorry, I don't recognize this problem. -- Joe Atzberger LibLime - Open Source Library Solutions
2009/7/21 Eric Bégin <Eric.Begin@inlibro.com>:
Hello!
1.sudo cp -a /usr/share/koha/lib/* /etc/perl
2 things about that line.
1) Based on the problem you described, that line did not really solve it, so I think it was not necessary 2) More important yet, you'll have to do this everytime you update Koha, which is OK if you work for your library forever, but this is very dangerous if someone else starts maintaining Koha.
I would strongly recommand to remove the /etc/perl/C4 directory.
If, afterward, you run into an error message when you run rebuild_zebra.pl, you probably have to run export PERL5LIB=/usr/share/koha/lib
What if we try symlinking? Will it break upgrading?? # ln -sv /usr/share/koha/lib/C4 /etc/perl/C4 -- With Regards Abhishek Amberkar Learn to appreciate the beauty within...
2009/7/21 Eric Bégin <Eric.Begin@inlibro.com>
It's already better, but the way to do it is really to define the PERL5LIB environment variable.
Look at your OS documentation to find out how to define it permanently.
--
As far as Debian is concerned we can export PERL5LIB in /etc/profile -- With Regards Abhishek Amberkar Learn to appreciate the beauty within... Sent from Mumbai, MH, India
participants (3)
-
Abhishek Amberkar [अभिषेक] -
Eric Bégin -
rekhasaraswat