<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Fix: Can&#8217;t connect to local MySQL server through socket &#8216;/var/lib/mysql/mysql.sock&#8217;</title>
	<atom:link href="http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/feed/" rel="self" type="application/rss+xml" />
	<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/</link>
	<description>Daily Blog from Internet Entrepreneur/Webmaster</description>
	<lastBuildDate>Wed, 16 May 2012 07:15:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: UbuntuBeginner</title>
		<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-26340</link>
		<dc:creator>UbuntuBeginner</dc:creator>
		<pubDate>Tue, 15 May 2012 13:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-26340</guid>
		<description>Had the same problem. Solution:
open /etc/mysql/my.cnf

Check line Bind Address. It should be 127.0.0.1 or according to your real external IP. 
Simple as that.</description>
		<content:encoded><![CDATA[<p>Had the same problem. Solution:<br />
open /etc/mysql/my.cnf</p>
<p>Check line Bind Address. It should be 127.0.0.1 or according to your real external IP.<br />
Simple as that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gagandeep Singh</title>
		<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-26245</link>
		<dc:creator>Gagandeep Singh</dc:creator>
		<pubDate>Mon, 07 May 2012 07:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-26245</guid>
		<description>Hi, I hope u can help me in this regard, I&#039;m having Windows 7 installed.. I just formatted it, while opening a torrent link i&#039;m getting this error Cannot connect to configuration database. Can&#039;t connect to local MySQL server through socket &#039;/var/lib/mysql/mysql.sock&#039; (2).. I don&#039;t how to solve it,, can you please help me in step by step process. Thanks in advance.. :)</description>
		<content:encoded><![CDATA[<p>Hi, I hope u can help me in this regard, I&#8217;m having Windows 7 installed.. I just formatted it, while opening a torrent link i&#8217;m getting this error Cannot connect to configuration database. Can&#8217;t connect to local MySQL server through socket &#8216;/var/lib/mysql/mysql.sock&#8217; (2).. I don&#8217;t how to solve it,, can you please help me in step by step process. Thanks in advance.. <img src='http://corpocrat.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yurij real newbie</title>
		<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-25878</link>
		<dc:creator>Yurij real newbie</dc:creator>
		<pubDate>Thu, 05 Apr 2012 11:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-25878</guid>
		<description>Very thanks for your instructions! for me it was usefull the main thing was to look at my fuduntu init.d !!! and also i have to say that  mysqld, mysqld_safe are bash scripts! many thanks!  I was trying to correct problem more then 3 hours googling differnt mysql forums and your solution is clear.</description>
		<content:encoded><![CDATA[<p>Very thanks for your instructions! for me it was usefull the main thing was to look at my fuduntu init.d !!! and also i have to say that  mysqld, mysqld_safe are bash scripts! many thanks!  I was trying to correct problem more then 3 hours googling differnt mysql forums and your solution is clear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yurij</title>
		<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-25877</link>
		<dc:creator>Yurij</dc:creator>
		<pubDate>Thu, 05 Apr 2012 11:41:27 +0000</pubDate>
		<guid isPermaLink="false">http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-25877</guid>
		<description>U do all as root? not $ but #</description>
		<content:encoded><![CDATA[<p>U do all as root? not $ but #</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek</title>
		<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-25827</link>
		<dc:creator>Abhishek</dc:creator>
		<pubDate>Wed, 28 Mar 2012 04:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-25827</guid>
		<description>/usr/bin/mysql start
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
[root@ser-man1 ~]# whereis mysqld.sock
mysqld:
[root@ser-man1 ~]# mysql –print-defaults
mysql would have been started with the following arguments:

[root@ser-man1 ~]#
[root@ser-man1 ~]# /etc/init.d/mysql start
bash: /etc/init.d/mysql: No such file or directory
[root@ser-man1 ~]# find / -name “mysqld”
[root@ser-man1 ~]# find / -name “mysqld”
[root@ser-man1 ~]# mysql –socket=/var/run/mysqld/mysqld.sock
^[[3~ERROR 2002 (HY000): Can&#039;t connect to local MySQL server through socket &#039;/var/run/mysqld/mysqld.sock&#039; (2)
[root@ser-man1 ~]# mysql –socket=/var/run/mysqld/mysqld.sock
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
[root@ser-man1 ~]# /etc/init.d/mysqld start
bash: /etc/init.d/mysqld: No such file or directory
[root@ser-man1 ~]# mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
[root@ser-man1 ~]# service mysqld restart
mysqld: unrecognized service
[root@ser-man1 ~]# service mysqld stop
mysqld: unrecognized service
[root@ser-man1 ~]#

I tried almost all given in the sites,but none of them worked for me. I have Cent OS 4.8 (Final)

I need help on this</description>
		<content:encoded><![CDATA[<p>/usr/bin/mysql start<br />
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)<br />
[root@ser-man1 ~]# whereis mysqld.sock<br />
mysqld:<br />
[root@ser-man1 ~]# mysql –print-defaults<br />
mysql would have been started with the following arguments:</p>
<p>[root@ser-man1 ~]#<br />
[root@ser-man1 ~]# /etc/init.d/mysql start<br />
bash: /etc/init.d/mysql: No such file or directory<br />
[root@ser-man1 ~]# find / -name “mysqld”<br />
[root@ser-man1 ~]# find / -name “mysqld”<br />
[root@ser-man1 ~]# mysql –socket=/var/run/mysqld/mysqld.sock<br />
^[[3~ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)<br />
[root@ser-man1 ~]# mysql –socket=/var/run/mysqld/mysqld.sock<br />
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)<br />
[root@ser-man1 ~]# /etc/init.d/mysqld start<br />
bash: /etc/init.d/mysqld: No such file or directory<br />
[root@ser-man1 ~]# mysql<br />
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)<br />
[root@ser-man1 ~]# service mysqld restart<br />
mysqld: unrecognized service<br />
[root@ser-man1 ~]# service mysqld stop<br />
mysqld: unrecognized service<br />
[root@ser-man1 ~]#</p>
<p>I tried almost all given in the sites,but none of them worked for me. I have Cent OS 4.8 (Final)</p>
<p>I need help on this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: clement</title>
		<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-25816</link>
		<dc:creator>clement</dc:creator>
		<pubDate>Mon, 26 Mar 2012 16:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-25816</guid>
		<description>thank you very much 
:) :)
it works</description>
		<content:encoded><![CDATA[<p>thank you very much<br />
 <img src='http://corpocrat.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://corpocrat.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
it works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prvoslav Savic</title>
		<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-25567</link>
		<dc:creator>Prvoslav Savic</dc:creator>
		<pubDate>Sun, 11 Mar 2012 17:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-25567</guid>
		<description>About mysql and &quot;ERROR 2002 (HY000): Can&#039;t connect to local MySQL server through socket &#039;/var/lib/mysql/mysql.sock&#039;&quot;

stop mysql
start mysql
will do just fine...</description>
		<content:encoded><![CDATA[<p>About mysql and &#8220;ERROR 2002 (HY000): Can&#8217;t connect to local MySQL server through socket &#8216;/var/lib/mysql/mysql.sock&#8217;&#8221;</p>
<p>stop mysql<br />
start mysql<br />
will do just fine&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-23701</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Fri, 03 Feb 2012 00:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-23701</guid>
		<description>I got mine working.  

You have to also install mysql-server:
yum install mysql-server

Then restart the service:
service mysqld start

and connect.</description>
		<content:encoded><![CDATA[<p>I got mine working.  </p>
<p>You have to also install mysql-server:<br />
yum install mysql-server</p>
<p>Then restart the service:<br />
service mysqld start</p>
<p>and connect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Defy</title>
		<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-23451</link>
		<dc:creator>Defy</dc:creator>
		<pubDate>Sat, 07 Jan 2012 12:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-23451</guid>
		<description>Sorry i was wrong, it doesn&#039;t help</description>
		<content:encoded><![CDATA[<p>Sorry i was wrong, it doesn&#8217;t help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Defy</title>
		<link>http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-23450</link>
		<dc:creator>Defy</dc:creator>
		<pubDate>Sat, 07 Jan 2012 12:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://corpocrat.com/2008/05/16/fix-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#comment-23450</guid>
		<description>I just write this:

apt-get purge mysql-server*

and it&#039;s helping</description>
		<content:encoded><![CDATA[<p>I just write this:</p>
<p>apt-get purge mysql-server*</p>
<p>and it&#8217;s helping</p>
]]></content:encoded>
	</item>
</channel>
</rss>

