<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Anthology of Ideas &#187; server</title>
	<atom:link href="http://anthologyoi.com/tag/server/feed" rel="self" type="application/rss+xml" />
	<link>http://anthologyoi.com</link>
	<description>Anthology of Ideas is an archive of thoughts and form.</description>
	<lastBuildDate>Sat, 03 Mar 2012 11:16:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Can&#8217;t connect to local MySQL server through socket&#8230;error.</title>
		<link>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html</link>
		<comments>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html#comments</comments>
		<pubDate>Fri, 21 Sep 2007 10:08:37 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Developing]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://anthologyoi.com/blogish/asides/cant-connect-to-local-mysql-server-through-socketerror.html</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I recently moved my /home folder to its own partition, but in doing so, I broke MySQL. The full error I got was:<br />
<span class="inline-code">Can&#039;t connect to local MySQL server through socket &#039;/var/run/mysqld/mysqld.sock&#039; (2)</span></p>
<p>To fix this you need to create the file and make sure that MySQL has access to it. (All commands need to be run as root)</p>
<p>Create the directory (if it doesn&#8217;t already exist).</p>
<p><span class="inline-code">sudo mkdir /var/run/mysqld/</span></p>
<p>Create the file by &#8220;touching&#8221; it.</p>
<p><span class="inline-code">sudo touch /var/run/mysqld/mysqld.sock</span></p>
<p>Set the ownership of the mysqld.sock file and folder to mysql.</p>
<p><span class="inline-code">sudo chown -R mysql /var/run/mysqld/</span></p>
<p>You can then start MySQL and breath easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html/feed</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
	</channel>
</rss>

