<?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>Smartkey - Java Software Consultancy &#187; Mac OS X</title>
	<atom:link href="http://blog.smartkey.co.uk/tag/mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smartkey.co.uk</link>
	<description></description>
	<lastBuildDate>Tue, 13 Dec 2011 15:03:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configuring MySQL on Mac OS X</title>
		<link>http://blog.smartkey.co.uk/2010/02/configuring-mysql-on-mac-os-x/</link>
		<comments>http://blog.smartkey.co.uk/2010/02/configuring-mysql-on-mac-os-x/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 14:41:03 +0000</pubDate>
		<dc:creator>Steve Neal</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Tool support]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.smartkey.co.uk/?p=624</guid>
		<description><![CDATA[I found the documentation for MySQL a little rough around the edges recently when I needed to change a configuration setting for it &#8211; everything seemed spread around their comprehensive PDF documentation and it took me a little while to fathom my way through it. 
It&#8217;s not often that changes to MySQL configuration need to [...]]]></description>
			<content:encoded><![CDATA[<p>I found the documentation for MySQL a little rough around the edges recently when I needed to change a configuration setting for it &#8211; everything seemed spread around their comprehensive PDF documentation and it took me a little while to fathom my way through it. </p>
<p>It&#8217;s not often that changes to MySQL configuration need to be made. This post is, therefore, more a reminder to myself than anything else.</p>
<p>First locate the configuration file. On my Mac I found this empty configuration file had been created as part of the installation process:</p>
<p><code>/etc/my.cnf</code> </p>
<p>You&#8217;ll need super-user privileges to update it. I used:</p>
<p><code>sudo vi /etc/my.cnf</code></p>
<p>Enter the configuration settings you require. I wanted to update the maximum packet size so I entered:</p>
<p><code>[mysqld]<br />
max_allowed_packet=16000000<br />
</code></p>
<p>Then you should be able to stop MySql with:</p>
<p><code>mysqladmin -u root -p shutdown<br />
</code></p>
<p>Restart it using whatever start script you prefer. To make sure that your changes have taken effect you can print the server variables to the console with:</p>
<p><code>mysqladmin -u root -p variables<br />
</code></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.smartkey.co.uk/2010/02/configuring-mysql-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

