<?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>Phil Bayfield &#187; Phil</title>
	<atom:link href="http://www.philbayfield.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.philbayfield.com</link>
	<description>A little about me, my photos and some general geeky stuff!</description>
	<lastBuildDate>Sun, 11 Jul 2010 23:44:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Switching MySQL for MariaDB on Ubuntu.</title>
		<link>http://www.philbayfield.com/2010/07/11/switching-mysql-for-mariadb-on-ubuntu/</link>
		<comments>http://www.philbayfield.com/2010/07/11/switching-mysql-for-mariadb-on-ubuntu/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 11:36:35 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.philbayfield.com/?p=449</guid>
		<description><![CDATA[MariaDB offers quite a few improvements over MySQL, mainly in the storage engines it provides. Firstly, the Maria engine is a crash safe version of MyISAM which in the future will also support transactions. Secondly, the XtraDB engine is an enhanced version of Innodb which can give considerable speed improvements over the standard Innodb engine. [...]]]></description>
			<content:encoded><![CDATA[<p>MariaDB offers quite a few improvements over MySQL, mainly in the storage engines it provides. Firstly, the Maria engine is a crash safe version of MyISAM which in the future will also support transactions. Secondly, the XtraDB engine is an enhanced version of Innodb which can give considerable speed improvements over the standard Innodb engine. There are many other features and improvements over the standard MySQL distribution, move info on the differences can be found here: <a href="http://askmonty.org/wiki/MariaDB_versus_MySQL">http://askmonty.org/wiki/MariaDB_versus_MySQL</a></p>
<p>The easiest way to install MariaDB is to add one of the repositories, I&#8217;ve used OurDelta:</p>
<div class="codesnip-container" >wget -O- http://ourdelta.org/deb/ourdelta.gpg | sudo apt-key add -<br />
sudo wget http://ourdelta.org/deb/sources/lucid-mariadb-ourdelta.list -O /etc/apt/sources.list.d/ourdelta.list</div>
<p>Then install MariaDB:</p>
<div class="codesnip-container" >sudo apt-get install mariadb-server-5.1</div>
<p>This should install MariaDB without any problems, it should also replace MySQL if you already installed it:</p>
<div class="codesnip-container" ># apt-get install mariadb-server-5.1<br />
Reading package lists&#8230; Done<br />
Building dependency tree<br />
Reading state information&#8230; Done<br />
The following extra packages will be installed:<br />
  libmariadbclient16 libmysqlclient16 mariadb-client-5.1<br />
  mariadb-client-core-5.1 mariadb-server-core-5.1 mysql-common<br />
Suggested packages:<br />
  tinyca mailx mariadb-test<br />
The following packages will be REMOVED<br />
  libmysqlclient-dev libmysqlclient16-dev mysql-client mysql-client-5.1<br />
  mysql-client-core-5.1 mysql-server-5.1 mysql-server-core-5.1<br />
The following NEW packages will be installed<br />
  libmariadbclient16 mariadb-client-5.1 mariadb-client-core-5.1<br />
  mariadb-server-5.1 mariadb-server-core-5.1<br />
The following packages will be upgraded:<br />
  libmysqlclient16 mysql-common<br />
2 upgraded, 5 newly installed, 7 to remove and 8 not upgraded.</div>
<p>If you are upgrading from MySQL, you will probably be prompted to overwrite the my.cnf and for a new root password. I generally choose Y to overwrite and enter my existing root password to avoid issue.</p>
<p>You can also follow my previous post to upgrade the client library used by PHP, rather than installing the MySQL dev package, the Maria equivalent should be used:</p>
<div class="codesnip-container" >sudo apt-get install libmariadbclient16-dev</div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.philbayfield.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.philbayfield.com/2010/07/11/switching-mysql-for-mariadb-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 4 vs HTC Evo</title>
		<link>http://www.philbayfield.com/2010/07/03/iphone-4-vs-htc-evo/</link>
		<comments>http://www.philbayfield.com/2010/07/03/iphone-4-vs-htc-evo/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 12:23:23 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.philbayfield.com/?p=452</guid>
		<description><![CDATA[Great video!]]></description>
			<content:encoded><![CDATA[<p>Great video!<br />
<p><a href="http://www.philbayfield.com/2010/07/03/iphone-4-vs-htc-evo/"><em>Click here to view the embedded video.</em></a></p></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.philbayfield.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.philbayfield.com/2010/07/03/iphone-4-vs-htc-evo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This is really clever!</title>
		<link>http://www.philbayfield.com/2010/06/09/this-is-really-clever/</link>
		<comments>http://www.philbayfield.com/2010/06/09/this-is-really-clever/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 08:41:27 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.philbayfield.com/?p=444</guid>
		<description><![CDATA[Apple iPad ads in San Francisco have been replaced all over the city, very cleverly done! You have to pause and read the content!]]></description>
			<content:encoded><![CDATA[<p>Apple iPad ads in San Francisco have been replaced all over the city, very cleverly done! You have to pause and read the content!</p>
<p><a href="http://www.philbayfield.com/2010/06/09/this-is-really-clever/"><em>Click here to view the embedded video.</em></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.philbayfield.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.philbayfield.com/2010/06/09/this-is-really-clever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoMySQL 0.2</title>
		<link>http://www.philbayfield.com/2010/05/27/gomysql-0-2/</link>
		<comments>http://www.philbayfield.com/2010/05/27/gomysql-0-2/#comments</comments>
		<pubDate>Thu, 27 May 2010 17:48:30 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Go]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.philbayfield.com/?p=437</guid>
		<description><![CDATA[Today the latest version of GoMySQL is available from the Github repository. This is a beta version and can be obtained by checking out the master branch. This version includes bug fixes and standardisation of function format, it will also include some new features which will be added over the next few days.]]></description>
			<content:encoded><![CDATA[<p>Today the latest version of GoMySQL is available from the <a href="http://github.com/Philio/GoMySQL/">Github repository</a>.</p>
<p>This is a <strong>beta</strong> version and can be obtained by checking out the master branch.</p>
<p>This version includes bug fixes and standardisation of function format, it will also include some new features which will be added over the next few days.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.philbayfield.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.philbayfield.com/2010/05/27/gomysql-0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Awesome Windows 7 Ad!</title>
		<link>http://www.philbayfield.com/2010/05/06/awesome-windows-7-ad/</link>
		<comments>http://www.philbayfield.com/2010/05/06/awesome-windows-7-ad/#comments</comments>
		<pubDate>Thu, 06 May 2010 10:42:59 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.philbayfield.com/?p=435</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.philbayfield.com/2010/05/06/awesome-windows-7-ad/"><em>Click here to view the embedded video.</em></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.philbayfield.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.philbayfield.com/2010/05/06/awesome-windows-7-ad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update Zend Server MySQL extensions</title>
		<link>http://www.philbayfield.com/2010/05/06/update-zend-server-mysql-extensions/</link>
		<comments>http://www.philbayfield.com/2010/05/06/update-zend-server-mysql-extensions/#comments</comments>
		<pubDate>Thu, 06 May 2010 08:39:09 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.philbayfield.com/?p=430</guid>
		<description><![CDATA[As the MySQL extensions with Zend Server are out of date, I decided to update them as it&#8217;s pretty simple to do. Install the source package: sudo apt-get install php-5.2-source-zend-server or sudo apt-get install php-5.3-source-zend-server Install the MySQL client dev package: sudo apt-get install libmysqlclient16-dev Install autoconf: sudo apt-get install autoconf From this point onwards [...]]]></description>
			<content:encoded><![CDATA[<p>As the MySQL extensions with Zend Server are out of date, I decided to update them as it&#8217;s pretty simple to do.</p>
<p>Install the source package:</p>
<div class="codesnip-container" >sudo apt-get install php-5.2-source-zend-server</div>
<p>or</p>
<div class="codesnip-container" >sudo apt-get install php-5.3-source-zend-server</div>
<p>Install the MySQL client dev package:</p>
<div class="codesnip-container" >sudo apt-get install libmysqlclient16-dev</div>
<p>Install autoconf:</p>
<div class="codesnip-container" >sudo apt-get install autoconf</div>
<p>From this point onwards I ran as root as saves time having to sudo everything, I have also created symlinks for the binaries in /usr/local/zend/bin to /usr/local (php, phpize, php-config, pear, pecl etc)</p>
<p>Change to the extensions directory of the source you just installed:</p>
<div class="codesnip-container" >cd /usr/local/zend/share/php-source/php-5.3.2/</div>
<p>There are 3 extensions that need to be recompiled mysql, mysqli and pdo_mysql, the following procedure is the same for all 3:</p>
<div class="codesnip-container" >cd mysql<br />
./configure<br />
make<br />
cp modules/mysql.so /usr/local/zend/lib/php_extensions/</div>
<p>Finally restart Zend Server and all the MySQL extensions will be using the latest libraries.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.philbayfield.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.philbayfield.com/2010/05/06/update-zend-server-mysql-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Server on Ubuntu Lucid has dependency problems</title>
		<link>http://www.philbayfield.com/2010/05/06/zend-server-on-lucid-has-dependency-problems/</link>
		<comments>http://www.philbayfield.com/2010/05/06/zend-server-on-lucid-has-dependency-problems/#comments</comments>
		<pubDate>Thu, 06 May 2010 08:20:25 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.philbayfield.com/?p=427</guid>
		<description><![CDATA[When trying to install Zend Server on Lucid you will be met with the following dependency problems: The following packages have unmet dependencies: php-5.2-mysql-zend-server: Depends: libmysqlclient15off (>= 5.0.27-1) which is a virtual package. php-5.2-pdo-mysql-zend-server: Depends: libmysqlclient15off (>= 5.0.27-1) which is a virtual package. php-5.2-mysqli-zend-server: Depends: libmysqlclient15off (>= 5.0.27-1) which is a virtual package. Along with [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to install Zend Server on Lucid you will be met with the following dependency problems:</p>
<div class="codesnip-container" >The following packages have unmet dependencies:<br />
  php-5.2-mysql-zend-server: Depends: libmysqlclient15off (>= 5.0.27-1) which is a virtual package.<br />
  php-5.2-pdo-mysql-zend-server: Depends: libmysqlclient15off (>= 5.0.27-1) which is a virtual package.<br />
  php-5.2-mysqli-zend-server: Depends: libmysqlclient15off (>= 5.0.27-1) which is a virtual package.</div>
<p>Along with the rather unsatisfactory resolution:</p>
<div class="codesnip-container" >The following actions will resolve these dependencies:<br />
Keep the following packages at their current version:<br />
help-zend-server-ce [Not Installed]<br />
php-5.2-common-extensions-zend-server-ce [Not Installed]<br />
php-5.2-mysql-zend-server [Not Installed]<br />
php-5.2-mysqli-zend-server [Not Installed]<br />
php-5.2-pdo-mysql-zend-server [Not Installed]<br />
zend-server-ce-php-5.2 [Not Installed]</div>
<p>The reason for this error is that the Zend MySQL packages are built against MySQL 5.0 (despite the fact 5.1 has been GA for over a year now).</p>
<p>Ubuntu have removed MySQL 5.0 in Lucid, but the package from Karmic is usable and available here: <a href="http://ns2.canonical.com/pt/karmic/libmysqlclient15off">http://ns2.canonical.com/pt/karmic/libmysqlclient15off</a></p>
<p>Simply install this and Zend Server will install nicely.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.philbayfield.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.philbayfield.com/2010/05/06/zend-server-on-lucid-has-dependency-problems/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTML 5 demo on the iPad</title>
		<link>http://www.philbayfield.com/2010/05/05/html-5-demo-on-the-ipad/</link>
		<comments>http://www.philbayfield.com/2010/05/05/html-5-demo-on-the-ipad/#comments</comments>
		<pubDate>Wed, 05 May 2010 09:53:13 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.philbayfield.com/?p=425</guid>
		<description><![CDATA[Here is an amusing demo of HTML 5 on the iPad, no need for Flash says Jobs!]]></description>
			<content:encoded><![CDATA[<p>Here is an amusing demo of HTML 5 on the iPad, no need for Flash says Jobs!</p>
<p><a href="http://www.philbayfield.com/2010/05/05/html-5-demo-on-the-ipad/"><em>Click here to view the embedded video.</em></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.philbayfield.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.philbayfield.com/2010/05/05/html-5-demo-on-the-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Go Library</title>
		<link>http://www.philbayfield.com/2010/05/05/first-go-library/</link>
		<comments>http://www.philbayfield.com/2010/05/05/first-go-library/#comments</comments>
		<pubDate>Wed, 05 May 2010 05:55:31 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Go]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.philbayfield.com/?p=423</guid>
		<description><![CDATA[My first library written in the Go programming language, GoMySQL, is now complete and available to download from my projects pages. The library fully implements the MySQL protocol and supports the majority of the common features found in other libraries, including: Single queries Multiple queries Change database Prepared statements There are a number of other [...]]]></description>
			<content:encoded><![CDATA[<p>My first library written in the Go programming language, GoMySQL, is now complete and available to download from my projects pages.</p>
<p>The library fully implements the MySQL protocol and supports the majority of the common features found in other libraries, including:</p>
<ul>
<li>Single queries</li>
<li>Multiple queries</li>
<li>Change database</li>
<li>Prepared statements</li>
</ul>
<p>There are a number of other libraries available for Go, but none of them (as yet) implement the full protocol.</p>
<p>To download visit the <a href="http://www.philbayfield.com/projects/gomysql/">GoMySQL project page</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.philbayfield.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.philbayfield.com/2010/05/05/first-go-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A shaky start for Ubuntu 10.04 Desktop</title>
		<link>http://www.philbayfield.com/2010/04/30/a-shaky-start-for-ubuntu-10-04-desktop/</link>
		<comments>http://www.philbayfield.com/2010/04/30/a-shaky-start-for-ubuntu-10-04-desktop/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 23:33:39 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.philbayfield.com/?p=413</guid>
		<description><![CDATA[Whereas I have been running Lucid since beta1 on my laptop without too many issues, my desktop PC doesn&#8217;t get upgraded until release day. After eventually managing to download the ISO, loading 5 different email backups to find my Nero key and waiting half an hour for the Lightscribe to burn onto the CD I [...]]]></description>
			<content:encoded><![CDATA[<p>Whereas I have been running Lucid since beta1 on my laptop without too many issues, my desktop PC doesn&#8217;t get upgraded until release day.</p>
<p>After eventually managing to download the ISO, loading 5 different email backups to find my Nero key and waiting half an hour for the Lightscribe to burn onto the CD I finally got to boot the live CD&#8230;.</p>
<p>Flashing cursor&#8230;<br />
Power saver mode&#8230;<br />
[2 minutes go by]<br />
Screen powers on&#8230;<br />
Strange Windows 7 blockiness (presumably something left in the video memory)&#8230;<br />
[Another minute goes by]<br />
Desktop, finally.</p>
<p>Install goes smoothly, nice to see the migration wizard is disabled by default and has clear options, should you choose to use it.</p>
<p>Try to reboot and machine hangs with just the desktop background.</p>
<p>Reset, restart&#8230;<br />
The infamous flashing cursor&#8230;<br />
Login screen&#8230;</p>
<p>I attempt to login and get a popup about power saving not working do I still want to logout? Odd&#8230; No I want to login really <img src='http://www.philbayfield.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Click continue, it goes away, finally get to the desktop.</p>
<p>One thing is immediately clear, Plymouth = EPIC FAIL.<br />
So far it doesn&#8217;t work on Intel or Nvidia hardware, 2 of the 3 post popular video chip manufacturers!<br />
I guess this is what happens when you name something after a scummy little city hidden away in the south west of England&#8230;</p>
<p>Testing continues&#8230;</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.philbayfield.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.philbayfield.com/2010/04/30/a-shaky-start-for-ubuntu-10-04-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
