<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>phpslacker &#187; mysql</title>
	<atom:link href="http://phpslacker.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpslacker.com</link>
	<description>yet another g33k blog *sigh*</description>
	<lastBuildDate>Sat, 12 Jun 2010 21:18:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='phpslacker.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/704ee04d116ebf72af131a280f4fcac1?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>phpslacker &#187; mysql</title>
		<link>http://phpslacker.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://phpslacker.com/osd.xml" title="phpslacker" />
	<atom:link rel='hub' href='http://phpslacker.com/?pushpress=hub'/>
		<item>
		<title>Test-drive: MySQL Workbench</title>
		<link>http://phpslacker.com/2009/02/21/test-drive-mysql-workbench/</link>
		<comments>http://phpslacker.com/2009/02/21/test-drive-mysql-workbench/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 16:52:50 +0000</pubDate>
		<dc:creator>phpslacker</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[test-drives]]></category>
		<category><![CDATA[dbdesigner]]></category>
		<category><![CDATA[erd]]></category>
		<category><![CDATA[workbench]]></category>

		<guid isPermaLink="false">http://phpslacker.com/?p=186</guid>
		<description><![CDATA[Workbench? MySQL Workbench is a cross-platform, visual database design tool developed by MySQL. It is the highly anticipated successor application of the DBDesigner4 project. MySQL Workbench will be available as a native GUI tool on Window, Linux and OS X. Some history MySQL Workbench has been in the making for a while. Building on from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpslacker.com&amp;blog=4392513&amp;post=186&amp;subd=stickytape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Workbench?</h2>
<p>
<q cite="http://dev.mysql.com/workbench/?page_id=6"><br />
MySQL Workbench is a cross-platform, visual database design tool developed by MySQL. It is the highly anticipated successor application of the DBDesigner4 project. MySQL Workbench will be available as a native GUI tool on Window, Linux and OS X.<br />
</q>
</p>
<h2>Some history</h2>
<p>
<a href="http://dev.mysql.com/workbench/" rel="nofollow">MySQL Workbench</a> has been in the making for a while. Building on from <a href="http://www.fabforce.net/dbdesigner4/" rel="nofollow">DBDesigner 4</a> I&#8217;m sure there&#8217;s a community of anxious MySQL developers who can&#8217;t wait for a free and quality ERD-modelling (and more) tool for MySQL. The mysql command-line client is brilliant. I love it and will always use it BUT there&#8217;s no substitute for managing entity relationships visually.
</p>
<p>
I&#8217;ve been waiting on <a href="http://dev.mysql.com/workbench/" rel="nofollow">MySQL Workbench</a> for ages (more specifically a <a href="http://dev.mysql.com/workbench/?p=192" rel="nofollow">Mac OS X release</a>). On the day the windows version was released I soon installed it in my Windows XP virtual machine. It works really well but realistically its too painful to use via VirtualBox. Could be a breeze with VMWare Fusion. Anyone tried this?
</p>
<h2>It really is Alpha</h2>
<p>
MySQL Workbench 5.1.7 is an alpha release for Mac OS X and Linux which prolly explains why the dmg is only 7 megabytes. Features are missing!
</p>
<h2>And lift-off</h2>
<p>
Installation was easy. Typical drag-and-drop to Applications folder installation. First launch was all over in about 10 seconds. Workbench crashed when I tried File -&gt; Open Recent menu item. Strange. Evidence follows:
</p>
<div id="attachment_191" class="wp-caption alignnone" style="width: 310px"><a href="http://stickytape.files.wordpress.com/2009/02/picture-4.png"><img src="http://stickytape.files.wordpress.com/2009/02/picture-4.png?w=300&#038;h=187" alt="Workbench Crash" title="Workbench Crash" width="300" height="187" class="size-medium wp-image-191" /></a><p class="wp-caption-text">Workbench Crash</p></div>
<h2>And lift-off</h2>
<p>
On second launch I avoided &#8220;Open Recent&#8221; menu item. I tried the reverse engineer from .SQL script feature. Workbench smartly recreated a schema from an old project schema.sql I had lying around. I couldn&#8217;t edit any of the tables. Workbench complained about a &#8220;missing editor&#8221;. Maybe it wants to integrate with MySQL Query Browser or something?
</p>
<div id="attachment_189" class="wp-caption alignnone" style="width: 310px"><a href="http://stickytape.files.wordpress.com/2009/02/picture-2.png"><img src="http://stickytape.files.wordpress.com/2009/02/picture-2.png?w=300&#038;h=187" alt="Workbench reverse engineer script example" title="Workbench reverse engineer script example" width="300" height="187" class="size-medium wp-image-189" /></a><p class="wp-caption-text">Workbench reverse engineer script example</p></div>
<h2>ERD&#8217;ing</h2>
<p>
Getting around an apparently buggy UI I did get to link some tables with many-to-one relationships. The experience was positively engaging. Workbench is already a vast improvement on the kludgy and  buggy DBDesigner. Some screenshots to follow:
</p>
<div id="attachment_190" class="wp-caption alignnone" style="width: 310px"><a href="http://stickytape.files.wordpress.com/2009/02/picture-3.png"><img src="http://stickytape.files.wordpress.com/2009/02/picture-3.png?w=300&#038;h=187" alt="Workbench many-to-one example" title="Workbench many-to-one example" width="300" height="187" class="size-medium wp-image-190" /></a><p class="wp-caption-text">Workbench many-to-one example</p></div>
<p>
And just to verify that the &#8220;Open Recent&#8221; crash wasn&#8217;t an anomaly I tried it again. Kaboom. A rather strange bug indeed.
</p>
<h2>Conclusion</h2>
<p>
If you&#8217;re going to use Workbench on real projects I advise practicing the &#8220;save every 5 seconds&#8221; rule. It is but only an Alpha but a very promising one at that. Regardless. I&#8217;m excited. I can&#8217;t wait for the first stable release. To the MySQL Workbench (and entire team at Sun MySQL) thanks for great tools and a great database. Love it. Bugs and all.</p>
<br /> Tagged: dbdesigner, erd, mac, mysql, workbench <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stickytape.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpslacker.com&amp;blog=4392513&amp;post=186&amp;subd=stickytape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpslacker.com/2009/02/21/test-drive-mysql-workbench/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3192d5f19ae8e0c31333c056f613de6b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">phpslacker</media:title>
		</media:content>

		<media:content url="http://stickytape.files.wordpress.com/2009/02/picture-4.png?w=300" medium="image">
			<media:title type="html">Workbench Crash</media:title>
		</media:content>

		<media:content url="http://stickytape.files.wordpress.com/2009/02/picture-2.png?w=300" medium="image">
			<media:title type="html">Workbench reverse engineer script example</media:title>
		</media:content>

		<media:content url="http://stickytape.files.wordpress.com/2009/02/picture-3.png?w=300" medium="image">
			<media:title type="html">Workbench many-to-one example</media:title>
		</media:content>
	</item>
		<item>
		<title>Using MySQL 5.1? You&#8217;ve been warned</title>
		<link>http://phpslacker.com/2009/02/17/using-mysql-51-youve-been-warned/</link>
		<comments>http://phpslacker.com/2009/02/17/using-mysql-51-youve-been-warned/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 11:00:34 +0000</pubDate>
		<dc:creator>phpslacker</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://phpslacker.com/?p=171</guid>
		<description><![CDATA[The other day I got really excited about MySQL 5.1. Finally, I can use prepared statements and the query_cache at the same time! And then I stumbled upon Monty&#8217;s blog post. In case you missed it. A stern warning from Michael Widenius (Founder and original developer of MySQL). That&#8217;s alot of bugs. Its not the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpslacker.com&amp;blog=4392513&amp;post=171&amp;subd=stickytape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>
The other day <a href="http://phpslacker.com/2009/02/06/mysql-51-fixes-prepared-statements/">I got really excited about MySQL 5.1</a>. Finally, I can use prepared statements and the query_cache at the same time! And then I stumbled upon Monty&#8217;s blog post.
</p>
<p>
In case you missed it. A <a href="http://monty-says.blogspot.com/2008/11/oops-we-did-it-again-mysql-51-released.html" rel="nofollow">stern warning from Michael Widenius</a> (Founder and original developer of MySQL).
</p>
<p>
That&#8217;s <a href="http://bugs.mysql.com/search.php?cmd=display&amp;status=Active&amp;severity=2&amp;bug_age=0&amp;direction=ASC&amp;phpver=5.1&amp;limit=All&amp;reorder_by=bug_type" rel="nofollow">alot of bugs</a>. Its not the volume of bugs thats alarming but the seriousness attached to them. Many are &#8220;crashing&#8221; bugs! Depending on what you use MySQL for they may or may not matter. Depending on how much data you have that bug list could leave you feeling rather uncomfortable about MySQL 5.1.
</p>
<p>Three months has gone by since MySQL 5.1 was announced &#8220;Generally Available&#8221;. <a href="http://www.mysqlperformanceblog.com/2008/12/10/mysql-51-went-to-ga-was-it-a-good-move/" rel="nofollow">According to mysql performance blog</a> there are some exceptional MySQL users out there. Some on the bleeding edge using the 6.0 releases already.
</p>
<p>Is this all a rush to become &#8220;Enterprise Ready&#8221;? Is it Sun&#8217;s fault? Has MySQL lowered its quality standards?</p>
<p>Who knows. I&#8217;m keeping my options open (postgres?). Some <a href="https://launchpad.net/drizzle" rel="nofollow">ex-MySQLers are busy elsewhere</a>. Hrmm. <a href="http://www.readwriteweb.com/archives/is_the_relational_database_doomed.php" rel="nofollow">Maybe the relational database is doomed</a> after all. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stickytape.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stickytape.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stickytape.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stickytape.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stickytape.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stickytape.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stickytape.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stickytape.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stickytape.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stickytape.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stickytape.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stickytape.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stickytape.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stickytape.wordpress.com/171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpslacker.com&amp;blog=4392513&amp;post=171&amp;subd=stickytape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpslacker.com/2009/02/17/using-mysql-51-youve-been-warned/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3192d5f19ae8e0c31333c056f613de6b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">phpslacker</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL 5.1 fixes prepared statements</title>
		<link>http://phpslacker.com/2009/02/06/mysql-51-fixes-prepared-statements/</link>
		<comments>http://phpslacker.com/2009/02/06/mysql-51-fixes-prepared-statements/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 08:41:39 +0000</pubDate>
		<dc:creator>phpslacker</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[prepared statements]]></category>
		<category><![CDATA[pdo]]></category>
		<category><![CDATA[query cache]]></category>

		<guid isPermaLink="false">http://phpslacker.com/?p=120</guid>
		<description><![CDATA[Its been a long wait. Yesterday I discovered that MySQL 5.1 is generally available. And the good news is prepared statements in mysql 5.1 can utilize the query cache Previously, the most elegant work around when issuing prepared statements from PHP was to emulate prepared statements client-side using PDO. The other obvious alternative is to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpslacker.com&amp;blog=4392513&amp;post=120&amp;subd=stickytape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>
Its <a href="http://bugs.mysql.com/bug.php?id=735" rel="nofollow">been a long wait</a>. Yesterday I discovered that MySQL 5.1 is generally available. And the good news is prepared statements in mysql 5.1 can utilize the <a href="http://dev.mysql.com/doc/refman/5.1/en/query-cache-how.html" rel="nofollow">query cache</a> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
</p>
<p>
Previously, the most elegant work around when issuing prepared statements from PHP was to <a href="http://netevil.org/blog/2006/apr/using-pdo-mysql" rel="nofollow">emulate prepared statements client-side using PDO</a>. The other obvious alternative is to not use prepared statements!
</p>
<p>
If you&#8217;re not using <a href="http://dev.mysql.com/tech-resources/articles/4.1/prepared-statements.html" rel="nofollow">prepared statements</a> maybe you should take a look. It&#8217;ll save you. Promise. MySQL 5.1 is generally available but I&#8217;m not so sure the package maintainers have got a chance to include it into the major distros as yet.
</p>
<p>
If you&#8217;re still on MySQL 5.0 or less&#8230; beware! Prepared statements are not stored in the query cache <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /></p>
<br /> Tagged: pdo, prepared statements, query cache <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stickytape.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stickytape.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stickytape.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stickytape.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stickytape.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stickytape.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stickytape.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stickytape.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stickytape.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stickytape.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stickytape.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stickytape.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stickytape.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stickytape.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpslacker.com&amp;blog=4392513&amp;post=120&amp;subd=stickytape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpslacker.com/2009/02/06/mysql-51-fixes-prepared-statements/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3192d5f19ae8e0c31333c056f613de6b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">phpslacker</media:title>
		</media:content>
	</item>
	</channel>
</rss>