<?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>Kirt Cathey, NH2GX, JG1FXZ &#187; OS X</title>
	<atom:link href="http://www.sysrisk.com/?feed=rss2&#038;tag=os-x" rel="self" type="application/rss+xml" />
	<link>http://www.sysrisk.com</link>
	<description>Security, Electronics, and Tech from Japan</description>
	<lastBuildDate>Sat, 04 Sep 2010 01:38:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MySQL Setup On OS X 10.5x &#8211; The Missing Procedures</title>
		<link>http://www.sysrisk.com/?p=517</link>
		<comments>http://www.sysrisk.com/?p=517#comments</comments>
		<pubDate>Thu, 25 Mar 2010 01:23:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[WWW]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[GWT]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[workpapers]]></category>

		<guid isPermaLink="false">http://www.sysrisk.com/?p=517</guid>
		<description><![CDATA[This posting is basically to document the procedure for setup, so others do not have to go through the ordeal that I went through. I am not sure why more explicit instructions are available , since when I Googled for the run-time errors that were produced as a result of using the MySQL DMG package, there were a myriad of comment postings and forum postings but very few solution.
[ad#ad-2]]]></description>
			<content:encoded><![CDATA[<p>This posting is basically to document the procedure for setup, so others do not have to go through the ordeal that I went through. I am not sure why more explicit instructions are available , since when I Googled for the run-time errors that were produced as a result of using the MySQL DMG package, there were a myriad of comment postings and forum postings but very few solution.</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-4000949765639059";
google_ad_slot = "8537874966";
google_ad_width = 180;
google_ad_height = 90;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>First, download the DMG package and the tar file (both) from MySQL download site. DO NOT INSTALL THE DMG INSTALL PACKAGE. Unpack the tarball and move to /usr/local/yourMySQLVersionFolder (&lt;-substitute with your MySQL unpacked folder name.). Create a symbolic link to MySQL in /usr/local &#8212;&gt; sudo ln -s yourMySQLVersionFolder mysql.<br />
A mysql user account is in OS X by default, so move into the mysql folder<br />
&#8211;&gt; sudo chown mysql . <br />
&#8211;&gt; sudo chgrp mysql .<br />
Move into the scripts folder and look for a script called mysql_install_db and open in vi, emacs, or your favorite editor and change the line,<br />
localhostname=&#8217;/bin/hostname&#8217; to localhostname=&#8217;localhost&#8217;.<br />
If you do not perform the procedures above, or just go ahead and use the install package provided by MySQL, then all will work just fine after installation. You will develop and program your heart out, feel like the master of your destiny, then once you reboot, MySQL will not let you login to change anything. The error you will most likely see is:<br />
ERROR 1045 (28000): Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)<br />
Over and over again, no matter what you do&#8230;..<br />
That&#8217;s not all&#8230;. if you have completed the steps above, you may still get an error that says mysql cannot access /tmp, or something like that. At this point, do the following:<br />
&#8211;&gt; cd /usr/local/mysql<br />
&#8211;&gt; sudo mkdir tmp<br />
&#8211;&gt; sudo chown _mysql:wheel tmp<br />
&#8211;&gt; sudo chmod 755 tmp<br />
Then pull up the editor of your choice to edit (or create in my case) /etc/my.cnf to include the following:<br />
[mysqld]<br />
tmpdir=/usr/local/mysql/tmp</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-4000949765639059";
google_ad_slot = "5430490945";
google_ad_width = 234;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p style="text-align: left;">At this point, all shoud work. Now go to the DMG package file and double click on the preferences pane icon, and when prompted if you want to include that in system preferences, press the yes button. Then unmount the DMG package and trash it. You&#8217;re done.<br />
The frustrating thing about this little adventure were the plethora of install instruction blog sites, but every one of the comments areas were filled with requests about the error above, and everybody had a different solution FOR THE SAME OS!! Hope this saves some time for somebody out there in internet land. If so, please comment. Also, for more morsels of wisdom, please refer to <a href="http://mechanicalrobotfish.com/posts/115-ruby-rails-and-mac-os-105" target="_blank">this site</a> and <a href="http://hivelogic.com/articles/installing-mysql-on-mac-os-x" target="_blank">this site</a>, which is where I managed to gather the proper procedures.</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-4000949765639059";
google_ad_slot = "2030459268";
google_ad_width = 120;
google_ad_height = 240;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.sysrisk.com/?p=517" target="_blank"><img src="http://www.sysrisk.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.sysrisk.com/?p=517" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sysrisk.com/?feed=rss2&amp;p=517</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple Rotting?</title>
		<link>http://www.sysrisk.com/?p=86</link>
		<comments>http://www.sysrisk.com/?p=86#comments</comments>
		<pubDate>Mon, 08 Jun 2009 20:26:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.sysrisk.com/?p=86</guid>
		<description><![CDATA[ While in the mountains over the weekend, during a short discussion with a hiking buddy, we were talking about trips to the Apple store which got me to thinking about how many times I have recently had to carry my Mac in for something to be replaced.   About six years ago when I went back to using Apple equipment, I purchased an iBook (white was the only color back then) and soon after purchased a PowerBook, then about a year later a Quad G4 PowerMac. ...  First, the battery recall, then the bending on the case that covers the monitor, then the hooking system that locks the cover shut when the laptop is closed, which ended in another trip to change out the whole top and bottom aluminum casing/cover. ...  I was one of the people that got excited when Apple implemented Intel chips, despite having invested in PowerPC systems, however, I can see a clear change in quality. ]]></description>
			<content:encoded><![CDATA[<p>While in the mountains over the weekend, during a short discussion with a hiking buddy, we were talking about trips to the Apple store which got me to thinking about how many times I have recently had to carry my Mac in for something to be replaced. About six years ago when I went back to using Apple equipment, I purchased an iBook (white was the only color back then) and soon after purchased a PowerBook, then about a year later a Quad G4 PowerMac. All three of these computers never found their way back to the Apple Store &#8211; not one problem to this day. My wife still uses the PowerBook, my daughters still use the iBook, and the PowerMac was sold off at the end of a project.</p>
<p> In 2005 I purchased a 15&#8243; MacBook Pro. One of the first, but not the very first&#8230;. learned long ago to stay away from the too bleeding edge. That first MBP found it&#8217;s way back into the Apple Store four times during the two years that I owned it. First, the battery recall, then the bending on the case that covers the monitor, then the hooking system that locks the cover shut when the laptop is closed, which ended in another trip to change out the whole top and bottom aluminum casing/cover.</p>
<p> I replaced that with a nice 17&#8243; MBP with the high resolution LED screen about one year ago. I took the computer into the Apple Store about six months ago due to some bending on the bottom casing. Apple replaced the bottom (keyboard side) aluminum casing.</p>
<p> Today I will be taking this into the Apple Store due to a problem with the power supply. I do not know if this is another mass recall, but I do see one trend &#8211; I am getting very poor uptime performance from a computer system. It certainly is not the nine nines performance that would be expected. All this means is that my system is down for one to three days every six months!</p>
<p> There is another thing to be inferred from this experience. The quality system that monitored systems before delivery when Apple used PowerPC processors was far better than whatever quality system they put in place when adopting Intel chips. I was one of the people that got excited when Apple implemented Intel chips, despite having invested in PowerPC systems, however, I can see a clear change in quality.</p>
<p> One last word&#8230;. recent trips to the Genius Bar at Apple Stores also reveal this further. In Tokyo, Japan, where there are two Apple Stores to choose from, the average wait for service is from three hours to one day! We know the number of Apple users have increased, but not quite at the rate that the so-called genius&#8217; are being engaged by users with broken systems.</p>
<p>I know some fanboys are going to bash me for this one, but facts are facts. I too am a fanboy &#8211; OS X rocks, the development framework is awesome, but while the hardware is cool, it offers less than mediocre performance.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.sysrisk.com/?p=86" target="_blank"><img src="http://www.sysrisk.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.sysrisk.com/?p=86" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sysrisk.com/?feed=rss2&amp;p=86</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
