<?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/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Can&#8217;t connect to local MySQL server through socket&#8230;error.</title>
	<atom:link href="http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/feed" rel="self" type="application/rss+xml" />
	<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html</link>
	<description>Anthology of Ideas is an archive of thoughts and form.</description>
	<lastBuildDate>Tue, 22 May 2012 08:32:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: surendra</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-203648</link>
		<dc:creator>surendra</dc:creator>
		<pubDate>Mon, 07 May 2012 10:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-203648</guid>
		<description>I have follow instruction, than i have have give this error...
ERROR 2002 (HY000): Can&#039;t connect to local MySQL server through socket &#039;/var/run/mysql/mysql.sock&#039; (111)</description>
		<content:encoded><![CDATA[<p>I have follow instruction, than i have have give this error&#8230;<br />
ERROR 2002 (HY000): Can&#8217;t connect to local MySQL server through socket &#8216;/var/run/mysql/mysql.sock&#8217; (111)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avi</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-199844</link>
		<dc:creator>Avi</dc:creator>
		<pubDate>Sun, 29 Apr 2012 21:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-199844</guid>
		<description>Hi

it because my HD was out of space! 

check with df -h if you have  a space.

what happen is that mysql tried to create the socket file, but there is no space so it dosent worked !</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>it because my HD was out of space! </p>
<p>check with df -h if you have  a space.</p>
<p>what happen is that mysql tried to create the socket file, but there is no space so it dosent worked !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: debian mysql server always down &#124; web technical support</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-178295</link>
		<dc:creator>debian mysql server always down &#124; web technical support</dc:creator>
		<pubDate>Mon, 09 Apr 2012 11:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-178295</guid>
		<description>[...] I tried the method mentioned here, then run sudo mysqld restart again, and gives me a different error [...]</description>
		<content:encoded><![CDATA[<p>[...] I tried the method mentioned here, then run sudo mysqld restart again, and gives me a different error [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vipin</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-176712</link>
		<dc:creator>vipin</dc:creator>
		<pubDate>Sat, 07 Apr 2012 13:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-176712</guid>
		<description>or you can try this

cd /var/lib/mysql
touch mysql.sock
chown mysql:mysql mysql.sock
chmod 1777 mysql.sock

now make a sym link into /tmp

ln -s /var/lib/mysql/mysql.sock /tmp
then
chmod 1777 /tmp

now
/scripts/mysqlup --force


now just restart mysql
/etc/rc.d/init.d/mysql restart</description>
		<content:encoded><![CDATA[<p>or you can try this</p>
<p>cd /var/lib/mysql<br />
touch mysql.sock<br />
chown mysql:mysql mysql.sock<br />
chmod 1777 mysql.sock</p>
<p>now make a sym link into /tmp</p>
<p>ln -s /var/lib/mysql/mysql.sock /tmp<br />
then<br />
chmod 1777 /tmp</p>
<p>now<br />
/scripts/mysqlup &#8211;force</p>
<p>now just restart mysql<br />
/etc/rc.d/init.d/mysql restart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vipin</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-176701</link>
		<dc:creator>vipin</dc:creator>
		<pubDate>Sat, 07 Apr 2012 13:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-176701</guid>
		<description>If you are using MySql 5.5 ,Then do the following
1. mv /etc/my.cnf /etc/my.cnf.bkp
2. /scripts/mysqlup --force
3. /etc/init.d/mysql restart

Ok</description>
		<content:encoded><![CDATA[<p>If you are using MySql 5.5 ,Then do the following<br />
1. mv /etc/my.cnf /etc/my.cnf.bkp<br />
2. /scripts/mysqlup &#8211;force<br />
3. /etc/init.d/mysql restart</p>
<p>Ok</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hongo</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-147096</link>
		<dc:creator>Hongo</dc:creator>
		<pubDate>Mon, 06 Feb 2012 15:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-147096</guid>
		<description>After you checked:

1- Server is up and running.
2- You aren&#039;t typing the wrong password.
3- If you have more than one MySQL server on your system.

I did a post on this same problem  My problem was solved, &lt;strong&gt;but in my case I used to have also LAMPP installed&lt;/strong&gt; and that was the conflicting issue.
&lt;a href=&quot;http://hongouru.blogspot.com/2012/02/solved-cant-connect-to-local-mysql.html&quot; rel=&quot;nofollow&quot;&gt;http://hongouru.blogspot.com/2012/02/solved-cant-connect-to-local-mysql.html&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>After you checked:</p>
<p>1- Server is up and running.<br />
2- You aren&#8217;t typing the wrong password.<br />
3- If you have more than one MySQL server on your system.</p>
<p>I did a post on this same problem  My problem was solved, <strong>but in my case I used to have also LAMPP installed</strong> and that was the conflicting issue.<br />
<a href="http://hongouru.blogspot.com/2012/02/solved-cant-connect-to-local-mysql.html" rel="nofollow">http://hongouru.blogspot.com/2012/02/solved-cant-connect-to-local-mysql.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hongo</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-147095</link>
		<dc:creator>Hongo</dc:creator>
		<pubDate>Mon, 06 Feb 2012 15:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-147095</guid>
		<description>After you checked:

1- Server is up and running.
2- You aren&#039;t typing the wrong password.
3- If you have more than one MySQL server on your system.

I did a post on this same problem  &lt;a href=&quot;http://hongouru.blogspot.com/2012/02/solved-cant-connect-to-local-mysql.html&quot; rel=&quot;nofollow&quot;&gt;http://hongouru.blogspot.com/2012/02/solved-cant-connect-to-local-mysql.html&lt;/a&gt;
My problem was solved, &lt;strong&gt;but in my case I used to have also LAMPP installed&lt;/strong&gt; and that was the conflicting issue.</description>
		<content:encoded><![CDATA[<p>After you checked:</p>
<p>1- Server is up and running.<br />
2- You aren&#8217;t typing the wrong password.<br />
3- If you have more than one MySQL server on your system.</p>
<p>I did a post on this same problem  <a href="http://hongouru.blogspot.com/2012/02/solved-cant-connect-to-local-mysql.html" rel="nofollow">http://hongouru.blogspot.com/2012/02/solved-cant-connect-to-local-mysql.html</a><br />
My problem was solved, <strong>but in my case I used to have also LAMPP installed</strong> and that was the conflicting issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremiah</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-134100</link>
		<dc:creator>Jeremiah</dc:creator>
		<pubDate>Sat, 10 Dec 2011 21:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-134100</guid>
		<description>I&#039;ve noticed a lot of people coming across this problem and I&#039;ve seen many unresolved questions floating around. Many times this occurs after a system reboot where mysql/mysqld is not started once the reboot is complete. A fix I came across:

# chkconfig --list mysqld
mysqld 0 : off 1 : off 2 : off 3 : off 4 : off 5 : off 6 : off

# chkconfig mysqld on

# chkconfig --list mysqld
mysqld 0 : off 1 : off 2 : on 3 : on 4 : on 5 : on 6 : off

# /sbin/reboot

------ 
Wait for reboot to complete

Then, to check that mysql is working properly
------

# mysql -u root -p

OR 

# /etc/init.d/mysqld status


I hope this helps someone.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve noticed a lot of people coming across this problem and I&#8217;ve seen many unresolved questions floating around. Many times this occurs after a system reboot where mysql/mysqld is not started once the reboot is complete. A fix I came across:</p>
<p># chkconfig &#8211;list mysqld<br />
mysqld 0 : off 1 : off 2 : off 3 : off 4 : off 5 : off 6 : off</p>
<p># chkconfig mysqld on</p>
<p># chkconfig &#8211;list mysqld<br />
mysqld 0 : off 1 : off 2 : on 3 : on 4 : on 5 : on 6 : off</p>
<p># /sbin/reboot</p>
<p>&#8212;&#8212;<br />
Wait for reboot to complete</p>
<p>Then, to check that mysql is working properly<br />
&#8212;&#8212;</p>
<p># mysql -u root -p</p>
<p>OR </p>
<p># /etc/init.d/mysqld status</p>
<p>I hope this helps someone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sitthya</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-127361</link>
		<dc:creator>Sitthya</dc:creator>
		<pubDate>Mon, 14 Nov 2011 20:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-127361</guid>
		<description>I got this issue, the server was full.
I erased some files and it worked fine as always.</description>
		<content:encoded><![CDATA[<p>I got this issue, the server was full.<br />
I erased some files and it worked fine as always.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikpan</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-126108</link>
		<dc:creator>vikpan</dc:creator>
		<pubDate>Thu, 10 Nov 2011 01:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-126108</guid>
		<description>works gr8 !! :) thnx for the fix  :)</description>
		<content:encoded><![CDATA[<p>works gr8 !! <img src='http://anthologyoi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thnx for the fix  <img src='http://anthologyoi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

