Your client is looking for the MySQL socket in /var/run/mysqld<br><br>Check your my.cnf. In my installation, this file is in /etc/mysql<br><br>Inside this file is a line that reads:<br><br>socket = /var/run/mysqld/mysqld.sock<br>
<br>Based on your installation this line may say something else.<br><br>Something else you can do is search for the file my.cnf. You can<br>use the following command to search for the file:<br><br>find / -name &quot;my.cnf&quot; -print<br>
<br>Let me know how many files are actually found. Depending (again)<br>on your installation, your MySQL may be using a different my.cnf<br>which is using a mysqld.sock that&#39;s in a different location.<br><br>Hope that this makes sense.<br>
<br>Andrew.<br><br><div class="gmail_quote">

On Wed, Mar 26, 2008 at 7:37 AM, Antony Kipingor &lt;<a href="mailto:kipingor@gmail.com" target="_blank">kipingor@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


This email is from a ubuntu-ke subscriber to other subscribers inluding you:)<br>
Hi all,<br>
<br>
I hope you have been well, I resently attempted to upgrade Mysql server. The<br>
server is now giving me issues, I believe the root of the problem is the<br>
my.cnf is a &nbsp;different version than the server itself.<br>
<br>
When I attempt to login i.e.<br>
#mysql -u root -p<br>
etc<br>
I receive the following error message:<br>
ERROR 2002 (HY000): Can&#39;t connect to local MySQL server through socket<br>
&#39;/var/run/mysqld/mysqld.sock&#39; (2)<br>
<br>
Can anyone help me<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="https://lists.ubuntu.com/archives/ubuntu-ke/attachments/20080326/0f43de26/attachment.htm" target="_blank">https://lists.ubuntu.com/archives/ubuntu-ke/attachments/20080326/0f43de26/attachment.htm</a><br>
<font color="#888888">--<br>
Ubuntu-ke mailing list<br>
<a href="mailto:Ubuntu-ke@lists.ubuntu.com" target="_blank">Ubuntu-ke@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-ke" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-ke</a><br>
</font></blockquote></div><br>