<?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/"
	>

<channel>
	<title>Gabriel de Kadt &#187; mcrypt</title>
	<atom:link href="http://www.lazydada.com/tag/mcrypt/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lazydada.com</link>
	<description>Personal notes on Mac based web development and design.</description>
	<lastBuildDate>Tue, 30 Aug 2011 10:47:39 +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>MySQL and phpMyAdmin on Mac 10.5 Leopard</title>
		<link>http://www.lazydada.com/2009-02-19/mysql-and-phpmyadmin-on-mac-105-leopard/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-and-phpmyadmin-on-mac-105-leopard</link>
		<comments>http://www.lazydada.com/2009-02-19/mysql-and-phpmyadmin-on-mac-105-leopard/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 12:36:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/2009-02-19/mysql-and-phpmyadmin-on-mac-105-leopard/</guid>
		<description><![CDATA[[Update! Lots of gotcha's with using the Apple package of PHP - found that its easier to do a couple of resets as noted here] Following on from PHP and SSI set-up on a Mac OS X 10.5, now it&#8217;s time for MySQL database work. Everything is plain sailing to start with: get and install [...]]]></description>
			<content:encoded><![CDATA[<p>[Update! Lots of gotcha's with using the Apple package of PHP - found that its easier to do a couple of resets as noted <a href="http://www.lazydada.com/2009-04-21/opengoo-install-in-mac-os-x-105/">here</a>]</p>
<p>Following on from <a href="http://www.lazydada.com/2008-11-07/apache-with-php-and-ssi-on-mac-os-x-105-leopard-in-two-minutes/">PHP and SSI set-up on a Mac OS X 10.5</a>, now it&#8217;s time for MySQL database work. Everything is plain sailing to start with: get and install both <a href="http://dev.mysql.com/downloads/" target="_blank">MySQL</a> and <a href="http://www.phpmyadmin.net/home_page/downloads.php" target="_blank">phpMyAdmin</a>. Then the first snag &#8211; phpMyAdmin cannot make a secure connection to MySQL without mcrypt (a PHP encryption extension) &#8211; and PHP as shipped with Mac OS X doesn&#8217;t come with this.</p>
<p>No solutions here I&#8217;m afraid &#8211; I&#8217;m in a hurry to get the development copy of a site I&#8217;m working on ASAP so have just commented out the blowfish and cookies lines in the phpMyAdmin config.inc.php file.</p>
<p>Must get this fixed&#8230;</p>
<p>Next problem: default MySQL setup looks in the wrong place for the socket connection. In Leopard the socket sits here <code>/private/tmp/mysql.sock</code>. Edit two lines in the MySQL sections of <code>/etc/php.ini</code> so as to get:</p>
<p><code>mysql.default_socket = /private/tmp/mysql.sock</code> and</p>
<p><code> mysqli.default_socket = /private/tmp/mysql.sock</code></p>
<p>Next problem&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-02-19/mysql-and-phpmyadmin-on-mac-105-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
