ution</h4>

				<p>Change "localhost" to "127.0.0.1" in your database.php</p>

				<strong>Failing that:</strong>

				<p>Create a symlink pointing at MAMP's mysql.socket.</p>

				<pre class="cli"><code>$ sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock</code></pre>

				<p>In some cases you have to create the directory first:</p>

				<pre class="cli"><code>$ sudo mkdir /var/mysql
$ sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock</code></pre>

			</article>