<?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>PlanetMysql.ru - информация о СУБД MySQL &#187; 5.4</title>
	<atom:link href="http://planetmysql.ru/category/5-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://planetmysql.ru</link>
	<description>Блог о самой популярной СУБД MySQL</description>
	<lastBuildDate>Thu, 24 May 2012 05:41:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Notes for installing MySQL 5.4.2 on OSX 10.5.8 PPC</title>
		<link>http://feedproxy.google.com/~r/Themattreid/~3/_8bFOcPfgAE/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=notes-for-installing-mysql-5-4-2-on-osx-10-5-8-ppc</link>
		<comments>http://feedproxy.google.com/~r/Themattreid/~3/_8bFOcPfgAE/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 04:30:06 +0000</pubDate>
		<dc:creator>Matt Reid</dc:creator>
				<category><![CDATA[5.4]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[mysql server]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://themattreid.com/wordpress/?p=228</guid>
		<description><![CDATA[Some notes from my recent installation of MySQL 5.4.2-beta on a PPC G5 box running OSX 10.5.8. Hopefully these notes will save someone a bit of time when they begin the &#8220;I want to make my mac a development box&#8221; process. I&#8217;m not going to cover installing/configuring Apache and PHP since the web is full of those articles already.  So, first things first,  I downloaded the pkg file  &#8211; not the tarball &#8211; from the MySQL downloads site and installed the following files in the following order:

mysql-5.4.2-beta-osx10.5-powerpc-64bit.pkg
MySQLStartupItem.pkg
MySQL.prefPane

CNF File Settings
Here are some interesting settings that you may want to be aware of with 5.4 and OSX

Do not set innodb_flush_method=fdatasync &#8211; it&#8217;s not a valid option, and the default after install is actually blank.
Do not set &#8220;nice = value&#8221; in the [mysqld_safe] section as this is not recognized and give the error &#8216;nice: illegal option &#8212; -&#8216;
Set the variable lower_case_table_names=2 because the HFS+ file system is case insensitive &#8211; isn&#8217;t that special.
The variable &#8216;log_slow_queries&#8217; will work but you should use &#8217;slow_query_log&#8217; or &#8217;slow_query_log_file&#8217; instead since it&#8217;s getting removed in *gasp* MySQL 7.0 so we do have a bit of time before that becomes something to be concerned about but you will see it in the error log if you don&#8217;t correct it now.

Preference Pane service controller
In order to get the Preference Pane controller to work (if you are getting the following error in /var/log/system.log &#8211; &#8220;Could not setup Mach task special port 9: (os/kern) no access&#8221;) you need to correct the permissions for the installation directory as such
(root@g5)-(/usr/local)-
shell&#62; chown -R _mysql:wheel /usr/local/mysql*
This will still generate the &#8216;(os/kern) no access&#8216; message in the system.log but the server will be started/stopped by the pane controller and that&#8217;s what we really care about. There may be some more notes along the way as I&#8217;m going to be testing 5.4 quite a bit for various application related matters.
]]></description>
			<content:encoded><![CDATA[<p>Some notes from my recent installation of MySQL 5.4.2-beta on a PPC G5 box running OSX 10.5.8. Hopefully these notes will save someone a bit of time when they begin the &#8220;I want to make my mac a development box&#8221; process. I&#8217;m not going to cover installing/configuring Apache and PHP since the web is full of those articles already.  So, first things first,  I downloaded the pkg file  &#8211; not the tarball &#8211; from the MySQL downloads site and installed the following files in the following order:</p>
<ol>
<li>mysql-5.4.2-beta-osx10.5-powerpc-64bit.pkg</li>
<li>MySQLStartupItem.pkg</li>
<li>MySQL.prefPane</li>
</ol>
<p><strong>CNF File Settings</strong></p>
<p>Here are some interesting settings that you may want to be aware of with 5.4 and OSX</p>
<ul>
<li>Do not set innodb_flush_method=fdatasync &#8211; it&#8217;s not a valid option, and the default after install is actually blank.</li>
<li>Do not set &#8220;nice = <em>value</em>&#8221; in the [mysqld_safe] section as this is not recognized and give the error &#8216;<em>nice: illegal option &#8212; -</em>&#8216;</li>
<li>Set the variable lower_case_table_names=2 because the HFS+ file system is case insensitive &#8211; isn&#8217;t that special.</li>
<li>The variable &#8216;log_slow_queries&#8217; will work but you should use &#8217;slow_query_log&#8217; or &#8217;slow_query_log_file&#8217; instead since it&#8217;s getting removed in *gasp* MySQL 7.0 so we do have a bit of time before that becomes something to be concerned about but you will see it in the error log if you don&#8217;t correct it now.</li>
</ul>
<p><strong>Preference Pane service controller</strong></p>
<p>In order to get the Preference Pane controller to work (if you are getting the following error in /var/log/system.log &#8211; &#8220;Could not setup Mach task special port 9: (os/kern) no access&#8221;) you need to correct the permissions for the installation directory as such<br />
<code>(root@g5)-(/usr/local)-<br />
shell&gt; chown -R _mysql:wheel /usr/local/mysql*</code></p>
<p>This will still generate the &#8216;<em>(os/kern) no access</em>&#8216; message in the system.log but the server will be started/stopped by the pane controller and that&#8217;s what we really care about. There may be some more notes along the way as I&#8217;m going to be testing 5.4 quite a bit for various application related matters.</p>
<img src="http://feeds.feedburner.com/~r/Themattreid/~4/_8bFOcPfgAE" height="1" width="1" /><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=21437&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=21437&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2009/10/04/notes-for-installing-mysql-5-4-2-on-osx-10-5-8-ppc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

