Looks like you might have competing processes for mysqld running, meaning that /var/run/mysqld/mysqld.sock already is created but by some other user.<br><br><div style="margin-left: 40px;">ls -l /var/run/mysqld/mysqld.sock<br>
</div><br>That should tell you if it exists, and the owning user. Or do:<br><br><div style="margin-left: 40px;">ps -ef | grep mysql<br></div><br>to show processes matching "mysql". To stop them the correct way:<br>
<br><div style="margin-left: 40px;">sudo /etc/init.d/mysql stop<br></div><br>Or as a last resort:<br><div style="margin-left: 40px;">sudo kill <i style="background-color: rgb(255, 255, 153);">process_id</i><br></div><br>Then after all the processes are stopped, you should be able to confirm the .sock file is gone, or delete it manually. Then start mysqld (same command with "start" instead of "stop") and try Koha again.<br>
<br>-- <br>Joe Atzberger<br>LibLime - Open Source Library Solutions<br><br><div class="gmail_quote">2009/5/5 kenneth rotich <span dir="ltr"><<a href="mailto:kenrotich2003@yahoo.com">kenrotich2003@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><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">
                                                <p>Hi all,</p><p>I am using koha 3.0 and has been running well and all of a certain the following error developed. Can somebody interprete for me the problem and how i can solve it.</p><p>thanks in advance<br></p><p>
ken.</p><p>The following fatal error has occurred:</p>
<pre><code>Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /opt/koha/src/C4/Context.pm line 646.<br>Compilation failed in require at /opt/koha/src/C4/Circulation.pm line 25.<br>
BEGIN failed--compilation aborted at /opt/koha/src/C4/Circulation.pm line 25.<br>Compilation failed in require at /opt/koha/src/C4/Overdues.pm line 24.<br>BEGIN failed--compilation aborted at /opt/koha/src/C4/Overdues.pm line 24.<br>
Compilation failed in require at /opt/koha/src/C4/Members.pm line 27.<br>BEGIN failed--compilation aborted at /opt/koha/src/C4/Members.pm line 27.<br>Compilation failed in require at /opt/koha/src/C4/Auth.pm line 31.<br>BEGIN failed--compilation aborted at /opt/koha/src/C4/Auth.pm line 31.<br>
Compilation failed in require at /opt/koha/src/mainpage.pl line 23.<br>BEGIN failed--compilation aborted at /opt/koha/src/mainpage.pl line 23.<br></code></pre></td></tr></tbody></table><br></blockquote></div><br>