<?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: 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?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cant-connect-to-local-mysql-server-through-socketerror</link>
	<description>Anthology of Ideas is an archive of thoughts and form.</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:37:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<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’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’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’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’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>
	<item>
		<title>By: Allen Highnote</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-118158</link>
		<dc:creator>Allen Highnote</dc:creator>
		<pubDate>Fri, 14 Oct 2011 20:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-118158</guid>
		<description>I had the same problem on an Ubuntu 11 virtual machine running on vmware server 2.0.  It turned out that I had broken my /etc/network/interfaces file.  Once I got the loopback portion of the file corrected, MySQL came back fine.

For me, it was making sure that the following lines were in the /etc/network/interfaces file:

auto lo
iface lo inet loopback


When you connect to MySQL via the local machine using # mysql -uusername -ppassword it tries to connect to 127.0.0.1 (local loopback)  However, if you&#039;ve botched your interfaces file as I had, your mysql gets screwed.  I tried all of the uninstalls mentioned above but that didn&#039;t work for me.  I even made sure that I went through the entire filesystem and deleted every file and directory with &quot;mysql&quot; in it&#039;s name and then reinstalled.  No luck.  But when I got my interfaces file corrected, everything was fine.  

see # man interfaces for a little help on the file.</description>
		<content:encoded><![CDATA[<p>I had the same problem on an Ubuntu 11 virtual machine running on vmware server 2.0.  It turned out that I had broken my /etc/network/interfaces file.  Once I got the loopback portion of the file corrected, MySQL came back fine.</p>
<p>For me, it was making sure that the following lines were in the /etc/network/interfaces file:</p>
<p>auto lo<br />
iface lo inet loopback</p>
<p>When you connect to MySQL via the local machine using # mysql -uusername -ppassword it tries to connect to 127.0.0.1 (local loopback)  However, if you&#8217;ve botched your interfaces file as I had, your mysql gets screwed.  I tried all of the uninstalls mentioned above but that didn&#8217;t work for me.  I even made sure that I went through the entire filesystem and deleted every file and directory with &#8220;mysql&#8221; in it&#8217;s name and then reinstalled.  No luck.  But when I got my interfaces file corrected, everything was fine.  </p>
<p>see # man interfaces for a little help on the file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stemy</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-99038</link>
		<dc:creator>Stemy</dc:creator>
		<pubDate>Sat, 10 Sep 2011 09:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-99038</guid>
		<description>I tried everything but not working for me.

I am on debian 5. Need help.</description>
		<content:encoded><![CDATA[<p>I tried everything but not working for me.</p>
<p>I am on debian 5. Need help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MySQL service won&#8217;t start - Admins Goodies</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-91213</link>
		<dc:creator>MySQL service won&#8217;t start - Admins Goodies</dc:creator>
		<pubDate>Sat, 20 Aug 2011 16:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-91213</guid>
		<description>[...] followed the advice here for creating the .sock file but no [...]</description>
		<content:encoded><![CDATA[<p>[...] followed the advice here for creating the .sock file but no [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: piyush</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-84563</link>
		<dc:creator>piyush</dc:creator>
		<pubDate>Thu, 28 Jul 2011 05:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-84563</guid>
		<description>THanks!!! :)
Cheers!</description>
		<content:encoded><![CDATA[<p>THanks!!! <img src='http://anthologyoi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmed</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/comment-page-1#comment-76001</link>
		<dc:creator>Ahmed</dc:creator>
		<pubDate>Sun, 01 May 2011 13:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html#comment-76001</guid>
		<description>In Ubuntu this did the trick for me:

Sudo /etc/init.d/mysql start</description>
		<content:encoded><![CDATA[<p>In Ubuntu this did the trick for me:</p>
<p>Sudo /etc/init.d/mysql start</p>
]]></content:encoded>
	</item>
</channel>
</rss>

