<?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>Webmasters by Design LLC &#187; MySQL</title>
	<atom:link href="http://www.webmastersbydesign.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webmastersbydesign.com</link>
	<description></description>
	<lastBuildDate>Thu, 15 Dec 2011 03:57:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Performance Tuning Best Practices for MySQL &#8211; Google TechTalks</title>
		<link>http://www.webmastersbydesign.com/2010/03/performance-tuning-best-practices-for-mysql-google-techtalks/</link>
		<comments>http://www.webmastersbydesign.com/2010/03/performance-tuning-best-practices-for-mysql-google-techtalks/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 12:05:53 +0000</pubDate>
		<dc:creator>Scott Spear</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Webmaster]]></category>

		<guid isPermaLink="false">http://www.webmastersbydesign.com/?p=1934</guid>
		<description><![CDATA[I was scouring the web for some MySQL tips, tricks, and documentation to help me as I work on the blog and other development projects. Tuning is often times overlooked; sometimes once the database table structure is built and normalized, development stops there. I am trying to be more conscious of that and during my [...]]]></description>
			<content:encoded><![CDATA[<p>I was scouring the web for some MySQL tips, tricks, and documentation to help me as I work on the blog and other development projects. Tuning is often times overlooked; sometimes once the database table structure is built and normalized, development stops there. I am trying to be more conscious of that and during my research I came across a performance tuning video published by Google during one of their Google TechTalks. You can check it out at <a title="Performance Tuning Best Practices for MySQL - Google TechTalks" href="http://video.google.com/videoplay?docid=2524524540025172110&amp;hl=en#" target="_blank">Google Video</a> or view it embedded below.</p>
<p style="text-align: center;"><object id="VideoPlayback" style="width: 400px; height: 326px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://video.google.com/googleplayer.swf?docid=2524524540025172110&amp;hl=en&amp;fs=true" /><param name="allowfullscreen" value="true" /><embed id="VideoPlayback" style="width: 400px; height: 326px;" type="application/x-shockwave-flash" width="100" height="100" src="http://video.google.com/googleplayer.swf?docid=2524524540025172110&amp;hl=en&amp;fs=true" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersbydesign.com/2010/03/performance-tuning-best-practices-for-mysql-google-techtalks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Field Types Cheatsheet</title>
		<link>http://www.webmastersbydesign.com/2008/12/mysql-field-types-cheatsheet/</link>
		<comments>http://www.webmastersbydesign.com/2008/12/mysql-field-types-cheatsheet/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 22:58:35 +0000</pubDate>
		<dc:creator>Scott Spear</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[cheatsheet]]></category>

		<guid isPermaLink="false">http://www.webmastersbydesign.com/?p=1819</guid>
		<description><![CDATA[If you have been using MySQL for your database choice, you'll probably find this cheatsheet to be pretty useful. Whether you are new to MySQL or advanced, this is pretty handy to have around. A help page on help.scibit.com offers a great breakdown of the different datatypes that are available for use in MySQL. They [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-1822" title="MySQL Field Types" src="http://cdn1.webmastersbydesign.com/2008/12/mysqlfieldtypesscreenshot.jpg" alt="" width="500" height="191" /></p>
<p>If you have been using MySQL for your database choice, you'll probably find this cheatsheet to be pretty useful. Whether you are new to MySQL or advanced, this is pretty handy to have around. A help page on help.scibit.com offers a great breakdown of the different datatypes that are available for use in MySQL. They cheatsheet lists the data type, the reasons for use, and the size of the data type. This is a quick and easy reference that will hopefully help out.</p>
<p><a title="MySQL Field Types" href="http://help.scibit.com/Mascon/masconMySQL_Field_Types.html">MySQL Field Types</a> [via <a title="dzone.com" href="http://sql.dzone.com/news/making-your-mysql-tables-more-">dzone</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersbydesign.com/2008/12/mysql-field-types-cheatsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpMyAdmin 3.1.0 Relesased</title>
		<link>http://www.webmastersbydesign.com/2008/12/phpmyadmin-310-relesased/</link>
		<comments>http://www.webmastersbydesign.com/2008/12/phpmyadmin-310-relesased/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 17:37:42 +0000</pubDate>
		<dc:creator>Scott Spear</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://www.webmastersbydesign.com/?p=1806</guid>
		<description><![CDATA[For those of you that are as hooked on phpMyAdmin as I am, you will be happy to know that there is a new version available. phpMyAdmin 3.1.0 includes a number of improvements and fixes. The list of improvements includes security updates, language updates, export fixes, and general patches. The release notes highlight a few [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-1395" title="phpMyAdmin Screenshot" src="http://cdn1.webmastersbydesign.com/2008/10/phpmyadminscreenshot.jpg" alt="" width="485" height="228" /></p>
<p>For those of you that are as hooked on <a title="phpMyAdmin" href="http://www.phpmyadmin.net/home_page/">phpMyAdmin</a> as I am, you will be happy to know that there is a new version available. phpMyAdmin 3.1.0 includes a number of improvements and fixes.</p>
<p>The list of improvements includes security updates, language updates, export fixes, and general patches. The release notes highlight a few specific improvements: "this version has a new setup mechanism and supports BLOBstreaming and the Swekey hardware authentication" (<a title="phpMyAdmin 3.1.0 Release Notes" href="http://sourceforge.net/project/shownotes.php?release_id=643509">release notes</a>).</p>
<p>You can view the <a title="phpMyAdmin 3.1.0 Release Notes" href="http://sourceforge.net/project/shownotes.php?release_id=643509">release notes</a> for full details concerning the new release and <a title="Download phpMyAdmin 3.1.0" href="http://sourceforge.net/project/showfiles.php?group_id=23067&amp;package_id=16462&amp;release_id=643509">download</a> the new version from sourceforge.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersbydesign.com/2008/12/phpmyadmin-310-relesased/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How In-Demand Are Your Skills?</title>
		<link>http://www.webmastersbydesign.com/2008/11/how-in-demand-are-your-skills/</link>
		<comments>http://www.webmastersbydesign.com/2008/11/how-in-demand-are-your-skills/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 12:23:49 +0000</pubDate>
		<dc:creator>Scott Spear</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[skills]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.webmastersbydesign.com/?p=1735</guid>
		<description><![CDATA[Have you ever wondered if your skills are in demand? With so many different possibilities available for web development, it is tough to know if you should keep mastering a specific technology or start learning a new one. After reading an article about how PHP programming jobs are in high demand, I asked myself the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.odesk.com/trends"><img class="size-full wp-image-1738 aligncenter" title="oDesk Trends Screenshot" src="http://cdn1.webmastersbydesign.com/2008/11/odeskscreenshot.jpg" alt="" width="500" height="280" /></a></p>
<p>Have you ever wondered if your skills are in demand? With so many different possibilities available for web development, it is tough to know if you should keep mastering a specific technology or start learning a new one. After reading an article about how <a title="PHP programming jobs in high demand" href="http://www.vnunet.com/vnunet/news/2230747/php-programming-jobs-demand">PHP programming jobs are in high demand</a>, I asked myself the follow-up question: what other skills do I have that are in high demand, and which skills do I have that are not?</p>
<p>The article linked to a great resource from <a title="oDesk" href="http://www.odesk.com">oDesk</a> that lists the current (monthly) <a title="oDesk Trends" href="http://www.odesk.com/trends">trends</a> for many of the development and design skills used for web development. There are 84 different trends with a wealth of useful information about the skill's demand including graphs, stats, and recent job postings. Although these stats are pulled from information specifically on oDesk, it represents demand from all around the world. I have listed links to some of the most in-demand skills right now.</p>
<ul>
<li><a title="CSS" href="http://www.odesk.com/trends/CSS">CSS</a></li>
<li><a title="Drupal" href="http://www.odesk.com/trends/Drupal">Drupal</a></li>
<li><a title="FreeBSD" href="http://www.odesk.com/trends/FreeBSD">FreeBSD</a></li>
<li><a title="Flash" href="http://www.odesk.com/trends/Flash">Flash</a></li>
<li><a title="PHP" href="http://www.odesk.com/trends/PHP">PHP</a></li>
<li><a title="Photoshop" href="http://www.odesk.com/trends/Photoshop">Photoshop</a></li>
<li><a title="MySQL" href="http://www.odesk.com/trends/MySQL">MySQL</a></li>
<li><a title="XML" href="http://www.odesk.com/trends/XML">XML</a></li>
<li><a title="JavaScript" href="http://www.odesk.com/trends/JavaScript">JavaScript</a></li>
<li><a title="Ajax" href="http://www.odesk.com/trends/AJAX">Ajax</a></li>
</ul>
<p>As a side note, this site is a fantastic example of how great the <a title="Google Chart API" href="http://code.google.com/apis/chart/">Google Chart API</a> is.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersbydesign.com/2008/11/how-in-demand-are-your-skills/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Free Online Tech Books from Techotopia</title>
		<link>http://www.webmastersbydesign.com/2008/10/free-online-tech-books-from-techotopia/</link>
		<comments>http://www.webmastersbydesign.com/2008/10/free-online-tech-books-from-techotopia/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 11:06:05 +0000</pubDate>
		<dc:creator>Scott Spear</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[Techotopia]]></category>

		<guid isPermaLink="false">http://www.webmastersbydesign.com/?p=1573</guid>
		<description><![CDATA[Techotopia offers free online books that cover a number of subjects including programming languages, security,  and Linux. The books are hosted on their wiki and are available to read online. The four main books that brought me to this site are: PHP Essentials MySQL Essentials JavaScript Essentials Ruby Essentials As the website states that the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-1575" title="Techotopia Screenshot" src="http://cdn1.webmastersbydesign.com/2008/10/techotopiascreenshot.jpg" alt="" width="500" height="287" /></p>
<p style="text-align: left;"><a title="Techotopia" href="http://www.techotopia.com/index.php/Main_Page">Techotopia</a> offers free online books that cover a number of subjects including programming languages, security,  and Linux. The books are hosted on their wiki and are available to read online. The four main books that brought me to this site are:</p>
<ul>
<li><a title="Techotopia | PHP Essentials" href="http://www.techotopia.com/index.php/PHP_Essentials">PHP Essentials</a></li>
<li><a title="Techotopia | MySQL Essentials" href="http://www.techotopia.com/index.php/MySQL_Essentials">MySQL Essentials</a></li>
<li><a title="Techotopia | JavaScript Essentials" href="http://www.techotopia.com/index.php/JavaScript_Essentials">JavaScript Essentials</a></li>
<li><a title="Techotopia | Ruby Essentials" href="http://www.techotopia.com/index.php/Ruby_Essentials">Ruby Essentials</a></li>
</ul>
<p>As the website states that the "IT Essentials series of books are designed to provide detailed information that is accessible to both experienced and novice readers" (<a title="Techotopia" href="http://www.techotopia.com/index.php/Main_Page">Techotopia</a>). The books are clear and concise, providing detailed explanations and examples to help you understand the content. Each book is made up of multiple chapters in a logical and easy to follow order. You can access the table of contents from every page which makes it easy to skip around quickly and easily to look at what you find interesting and useful.</p>
<p style="text-align: left;">As well as the four books mentioned above, you can find books on these topics:</p>
<ul>
<li><a title="Techotopia | Ubuntu Linux" href="http://www.techotopia.com/index.php/Ubuntu_Linux_Essentials">Ubuntu</a></li>
<li><a title="Techotopia | Fedora Linux" href="http://www.techotopia.com/index.php/Fedora_Linux_Essentials">Fedora</a></li>
<li><a title="Techotopia | OpenSUSE Desktop" href="http://www.techotopia.com/index.php/OpenSUSE_Desktop_Essentials">OpenSUSE</a></li>
<li><a title="Techotopia | C#" href="http://www.techotopia.com/index.php/C_Sharp_Essentials">C#</a></li>
<li><a title="Techotopia | Visual Basic" href="http://www.techotopia.com/index.php/Visual_Basic_Essentials">Visual Basic</a></li>
<li><a title="Techotopia | Security+ Essentials" href="http://www.techotopia.com/index.php/Security%2B_Essentials">Security+ Essentials</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersbydesign.com/2008/10/free-online-tech-books-from-techotopia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easily Generate Sample Datasets for Testing at GenerateData.com</title>
		<link>http://www.webmastersbydesign.com/2008/10/easily-generate-sample-datasets-for-testing-at-generatedatacom/</link>
		<comments>http://www.webmastersbydesign.com/2008/10/easily-generate-sample-datasets-for-testing-at-generatedatacom/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 11:19:44 +0000</pubDate>
		<dc:creator>Scott Spear</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[generator]]></category>

		<guid isPermaLink="false">http://www.webmastersbydesign.com/?p=1281</guid>
		<description><![CDATA[As a developer I have often wanted to be able to test query speeds among other things. The problem is I didn't always have a usable data set sitting around that could meet the requirements of my test cases. To make a long story short, I wish I had GenerateData.com a long time ago. This [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-1283" title="GenerateData Screenshot" src="http://www.webmastersbydesign.com/wp-content/uploads/2008/09/generatedatascreenshot.jpg" alt="" width="485" height="237" /></p>
<p style="text-align: left;">As a developer I have often wanted to be able to test query speeds among other things. The problem is I didn't always have a usable data set sitting around that could meet the requirements of my test cases. To make a long story short, I wish I had GenerateData.com a long time ago. This is a great tool and has a lot of potential. It can save a lot of time when you are trying to create your own test data set to work with.</p>
<p style="text-align: left;"><a title="GenerateData.com" href="http://www.generatedata.com/#about">GenerateData.com</a> is currently in version 2.1 (released July 25, 2008) and offers a nice set of features. You can generate data in many different data types like addresses, numbers, lorem ipsum text, email addresses, phone numbers, and more. Once you have chosen what kind of data you would like to generate, you can choose from five different export options. You are able to export the data in XML, Excel, HTML, CSV and SQL formats. The SQL export options gives you the choice of MySQL or Oracle syntax. You can generate up to 200 records at a time, unless you donate $20 or more, which allows you to generate up to 5000 records at a time.</p>
<p style="text-align: left;">The generator is written using PHP, MySQL, and JavaScript. You can use the online version or download a copy of the script for use on your own server. The downloadable version is licensed under <a title="GenerateData GNU License" href="http://www.generatedata.com/#gnu_license">GNU</a>. The website has requirements and installation instructions to follow if needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersbydesign.com/2008/10/easily-generate-sample-datasets-for-testing-at-generatedatacom/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>All-In-One Web Server Installation Packages</title>
		<link>http://www.webmastersbydesign.com/2008/08/all-in-one-web-server-installation-packages/</link>
		<comments>http://www.webmastersbydesign.com/2008/08/all-in-one-web-server-installation-packages/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 10:57:32 +0000</pubDate>
		<dc:creator>Scott Spear</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Best List]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[WAMP]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://www.webmastersbydesign.com/?p=317</guid>
		<description><![CDATA[A traditional web server is made up of many different components, including an http server, mail server, FTP server, and more. In days gone by, a webmaster would install each software package individually to get a custom web server up and running. These kinds of server setups offer many advantages, including testing, learning, and being [...]]]></description>
			<content:encoded><![CDATA[<p>A traditional web server is made up of many different components, including an http server, mail server, FTP server, and more. In days gone by, a webmaster would install each software package individually to get a custom web server up and running. These kinds of server setups offer many advantages, including testing, learning, and being able to have total control over the web server environment. Today there are many different options available that bundle each component into an easy single installation package.</p>
<p>The installation packages are basically split into two main categories, <a title="WAMP" href="http://en.wikipedia.org/wiki/WAMP">WAMP</a> (Windows Apache MySQL PHP) servers and <a title="LAMP" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP</a> (Linux Apache MySQL PHP) servers. As you can see, they are installation packages that include the <a title="Apache httpd server" href="http://httpd.apache.org/">Apache</a> httpd server, the <a title="MySQL database server" href="http://dev.mysql.com/">MySQL</a> database server, and <a title="PHP" href="http://www.php.net/">PHP</a> installed on either a Windows machine or a Linux/Unix machine. There are many different WAMP/LAMP installation packages available that contain the 4 major components, as well as other software to make a more full featured web server. These packages can vary slightly, while meeting the general requirements for running a web server. I have listed some of the most common packages available below.</p>
<p><strong>WAMP</strong></p>
<ul>
<li><a title="Apache2Triad WAMP Server" href="http://apache2triad.net/">Apache2Triad</a> - This package includes an incredible list of features. It installs Apache with mod_python, mod_ssl, mod_perl, OpenSSL, and AWStats, MySQL with phpMyAdmin, PostgreSQL with pgAdmin and phpPgAdmin, xmail with PHPXMail and UebiMiau, SlimFTPD with PHPsFTPd, PHP with Pear and Smarty, Perl with CPAN, and Python with Spyce and wxPython.</li>
<li><a title="XAMPP WAMP Server" href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP</a> - This package installs Apache with OpenSSL, MySQL with phpMyAdmin, PHP 4 and PHP 5, FileZilla FTP server, and Mercury Mail Transport System. You can also get Perl and Tomcat as an add-on.</li>
<li><a title="WampServer 2.0 WAMP Server" href="http://www.wampserver.com/en/">WampServer 2.0</a> - This is the new version of the WAMP5 server. It installs Apache, MySQL with PHPMyAdmin and SQLiteManager, and PHP. It doesn't have all the bells and whistles of the first servers listed, but it is reliable and has the ability to install many different releases of Apache, MySQL, and PHP.</li>
<li><a title="The Uniform Server WAMP Server" href="http://www.uniformserver.com/">The Uniform Server</a> - This package installs Apache, MySQL with phpMyAdmin, and PHP. It also includes SSL capabilities, but I couldn't find what software is used.</li>
<li><a title="SpikeWAMP WAMP Server" href="http://developer.spikesource.com/wiki/index.php/SpikeWAMP">SpikeWAMP</a> - This package installs Apache, MySQL, and PHP. This version also includes the ability to install popular applications like Drupal, Joomla, Moodle, phpBB, and more. There is also an update channel that allows you to download and install the new beta versions of the applications. This is a nice and easy WAMP installation package.</li>
</ul>
<p><strong>LAMP</strong></p>
<ul>
<li><a title="XAMPP LAMP Server" href="http://www.apachefriends.org/en/xampp-linux.html">XAMPP</a> - This package installs Apache with OpenSSL, MySQL with phpMyAdmin, PHP 4 and PHP 5, FileZilla FTP server, and Mercury Mail Transport System.</li>
<li><a title="Apache Toolbox LAMP Server" href="http://www.apachetoolbox.com/">Apache Toolbox</a> - This package installs one of the largest bundles of applications and mods I have seen; it boasts almost 100 different modules. Some of these include Apache, MySQL, Apache, WebDAV, OpenLDAP, and gd libraries. Take a look at the website to get the full listing.</li>
<li><a title="BitRock LAMP Server" href="http://bitrock.com/download_webstacks_download.html">BitRock</a> - This package is based on the BitNami stacks and installs Apache, MySQL with phpMyAdmin, and PHP. There are also some popular applications available for easy installation with BitRock, like phpBB, WordPress, Joomla, and Subversion just to name a few.</li>
</ul>
<p>What LAMP/WAMP server do you use? Or do you set up all the pieces separately? Let us know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersbydesign.com/2008/08/all-in-one-web-server-installation-packages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>phpMyAdmin 2.11.8.1 Released Yesterday</title>
		<link>http://www.webmastersbydesign.com/2008/07/phpmyadmin-21181-released-yesterday/</link>
		<comments>http://www.webmastersbydesign.com/2008/07/phpmyadmin-21181-released-yesterday/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 16:22:26 +0000</pubDate>
		<dc:creator>Scott Spear</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://www.webmastersbydesign.com/?p=359</guid>
		<description><![CDATA[. phpMyAdmin 2.11.8.1 was released yesterday. The main reason for the updated release is to patch bugs and security issues. There were some XSS problems reported by Aung Khant from the YGN Ethical Hacker Group. The two main fixes are both XSS related, one having to do with frames and the other has to do [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: left;"><span style="color: #ffffff;">.</span></div>
<div class="mceTemp mceIEcenter" style="text-align: left;">
<dl id="attachment_369" class="wp-caption aligncenter" style="width: 495px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-369" title="phpMyAdmin" src="http://www.webmastersbydesign.com/wp-content/uploads/2008/07/phpmyadmin.jpg" alt="phpMyAdmin" width="485" height="223" /> </dt>
</dl>
</div>
<p style="text-align: left;"><a title="phpMyAdmin" href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a> 2.11.8.1 was released yesterday. The main reason for the updated release is to patch bugs and security issues. There were some XSS problems reported by Aung Khant from the <a title="YGN Ethical Hackers Group" href="http://yehg.org/">YGN Ethical Hacker Group</a>. The two main fixes are both XSS related, one having to do with frames and the other has to do with a lack of HTML escaping. You can read more about these by visiting the site which contains the news release about these <a title="phpMyAdmin bug/security fixes" href="http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2008-6">bug/security fixes</a> from phpMyAdmin. These vulnerabilities were considered very serious and have now been patched with this new release. Be sure to upgrade your copy to 2.11.8.1. You can <a title="SourceForge phpMyAdmin 2.11.8.1 Download" href="http://sourceforge.net/project/showfiles.php?group_id=23067&amp;package_id=16462&amp;release_id=616203">download</a> the new release from SourceForge.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersbydesign.com/2008/07/phpmyadmin-21181-released-yesterday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Speed Test: IN vs OR</title>
		<link>http://www.webmastersbydesign.com/2008/07/sql-speed-test-in-vs-or/</link>
		<comments>http://www.webmastersbydesign.com/2008/07/sql-speed-test-in-vs-or/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 17:25:28 +0000</pubDate>
		<dc:creator>Scott Spear</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[IN]]></category>
		<category><![CDATA[OR]]></category>
		<category><![CDATA[speed test]]></category>

		<guid isPermaLink="false">http://www.webmastersbydesign.com/?p=84</guid>
		<description><![CDATA[Speed and efficiency are key factors when running a website. All code needs to be optimized, whether it is PHP, ASP, Python, or SQL. Internet users are notorious for having a low attention span, and a fast page load will help to keep their attention focused on what is on the page, rather that what [...]]]></description>
			<content:encoded><![CDATA[<p>Speed and efficiency are key factors when running a website. All code needs to be optimized, whether it is PHP, ASP, Python, or SQL. Internet users are notorious for having a low attention span, and a fast page load will help to keep their attention focused on what is on the page, rather that what is slowly being displayed on the page. This sparked some thought for me while I was at work the other day.</p>
<p>I work primarily out of an Oracle database and often have a list of values that a field needs to be checked against. In my opinion, it is nicer to look at the values in a list because it is cleaner and easier to follow. I wondered if the cleaner look of the "IN" statement was worth any performance difference between the "IN" and the "OR". Both statements provide the same output when used correctly so I was curious if one was faster than the other. I then tested the difference, and the "IN" statement came up short.</p>
<p style="text-align: left;">This test was conducted using MySQL (Version 4.1.22) because all of my websites run on MySQL and, dare I say, most other websites do as well.</p>
<p style="text-align: left;">I used a test database I had readily available (WordPress) to test 2 SQL statements, 1 using "IN" and 1 using "OR." Here are my results:</p>
<h2><span style="text-decoration: underline;">Results</span></h2>
<p style="text-align: left;"><span style="text-decoration: underline;"><strong>The "IN" Statement</strong></span></p>
<p style="padding-left: 30px; text-align: left;"><span style="color: #000080;"><strong>SELECT</strong></span> *<br />
<span style="color: #000080;"><strong>FROM</strong> </span>wp_posts<br />
<span style="color: #000080;"><strong>WHERE</strong></span> post_author <span style="color: #000080;"><strong>IN</strong> <strong>(</strong> </span>1, 2, 3, 4, 5, 6, 7, 8, 9<span style="color: #000080;"><strong> )</strong></span></p>
<ul style="text-align: left;">
<li><strong>Records selected:</strong> 60</li>
<li><strong>Execution Time:</strong> 0.0066 sec.</li>
<li><strong>Average Time Per Row: </strong>0.00011<strong><br />
</strong></li>
</ul>
<p style="text-align: left;"><span style="text-decoration: underline;"><strong>The "OR" Statement</strong></span></p>
<p style="padding-left: 30px; text-align: left;"><strong><span style="color: #000080;">SELECT </span></strong>*<strong><span style="color: #000080;"><br />
FROM </span></strong>wp_posts<strong><span style="color: #000080;"><br />
WHERE </span></strong>post_author = 1 <strong><span style="color: #000080;">OR</span></strong> post_author = 2 <strong><span style="color: #000080;">OR</span></strong> post_author = 3 <strong><span style="color: #000080;">OR</span></strong> post_author = 4 <strong><span style="color: #000080;">OR</span></strong> post_author = 5 <strong><span style="color: #000080;">OR</span></strong> post_author = 6 <strong><span style="color: #000080;">OR</span></strong> post_author = 7 <strong><span style="color: #000080;">OR</span></strong> post_author = 8 <strong><span style="color: #000080;">OR</span></strong> post_author = 9</p>
<ul style="text-align: left;">
<li><strong>Records selected:</strong> 60</li>
<li><strong>Execution Time:</strong> 0.0064 sec.</li>
<li><strong>Average Time Per Row: </strong>0.000107</li>
</ul>
<h2><span style="text-decoration: underline;"><strong>Projections</strong></span></h2>
<p>Based on the average execution time per row, I have created a graph to show a scaling of the difference between execution times as the selected row count becomes larger. The results are as follows:</p>
<p><img class="aligncenter size-full wp-image-87" title="invsor" src="http://www.webmastersbydesign.com/wp-content/uploads/2008/07/invsor.jpg" alt="IN vs OR" width="450" height="280" /></p>
<p style="text-align: center;">
<p style="text-align: left;">
<h2><span style="text-decoration: underline;"><strong>Discussion</strong></span></h2>
<p style="text-align: left;">I have tested this on a small scale with a simple test database, but these results could be substantial on a larger scale. With major websites like <a title="Yahoo! Stores 2 petabytes of Data" href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;taxonomyName=databases&amp;articleId=9087918&amp;taxonomyId=53&amp;intsrc=kc_feat" target="_blank">Yahoo! storing 2 petabytes of data</a> and <a title="Ebay Processes 10 Billion Records Per Day" href="http://www.linkedin.com/in/oliverratzesberger">Ebay processing 10 billion records per day</a>, you can see how quickly .0002 seconds can become a problem. Major websites will definitely have a better and faster setup running than I do. They will also have incredibly optimized queries, but we (the smaller scale) should work hard and do our best to make our SQL easily scalable. A query that works on a table with 1,000 records may not work on a table with 1,000,000 records.</p>
<p style="text-align: left;">How do you optimize your SQL and database setup? Give your tips and tricks in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersbydesign.com/2008/07/sql-speed-test-in-vs-or/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Unable to Use mysqldump on a Shared Host? Here&#8217;s an Alternative</title>
		<link>http://www.webmastersbydesign.com/2008/06/unable-to-use-mysqldump-on-a-shared-host-heres-an-alternative/</link>
		<comments>http://www.webmastersbydesign.com/2008/06/unable-to-use-mysqldump-on-a-shared-host-heres-an-alternative/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 18:13:14 +0000</pubDate>
		<dc:creator>Scott Spear</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[mysqldump]]></category>

		<guid isPermaLink="false">http://www.webmastersbydesign.com/?p=65</guid>
		<description><![CDATA[I have used many shared hosting providers throughout my years as a webmaster. Shared hosts have many great points, namely, price, and then they have their major drawbacks. For me, one of the major drawbacks is the limited use of the machine on which your site is hosted. For instance, I love phpMyAdmin for maintaining [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-medium wp-image-73 aligncenter" title="Harddisk" src="http://www.webmastersbydesign.com/wp-content/uploads/2008/06/hdd-300x205.jpg" alt="Hard Drive Backup" width="300" height="205" /></p>
<p style="text-align: left;">I have used many <a title="Web Hosting Search | Shared Web Hosts" href="http://www.webhostingsearch.com/shared-web-hosting.php">shared hosting</a> providers throughout my years as a webmaster. Shared hosts have many great points, namely, price, and then they have their major drawbacks. For me, one of the major drawbacks is the limited use of the machine on which your site is hosted.</p>
<p>For instance, I love <a title="phpMyAdmin" href="http://www.phpmyadmin.net/home_page/index.php" target="_blank">phpMyAdmin</a> for maintaining and managing my databases, but I am not a fan of the need to log in to backup the databases. The easiest way around that of course would be to execute the <a title="MySQL Function mysqldump" href="http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html" target="_blank">mysqldump</a> command that comes bundled with MySQL. Unfortunately, most shared hosts, all that I have dealt with, disable the ability to use <a title="PHP Function exec()" href="http://us3.php.net/exec" target="_blank">exec()</a> or <a title="PHP Function system()" href="http://us3.php.net/system" target="_blank">system()</a> with PHP to execute the MySQL native command. If these were available, creating a cron job on a simple PHP file that ran mysqldump would have worked perfectly. However, this wasn't the case. After looking around for a long time at a possible way around this, I came up empty handed. Maybe I didn't look hard enough, or looked in all the wrong places, but I was left with nothing. I needed to back up my databases at regular intervals and found it frustrating to log into phpMyAdmin to do this each time. So I did what I should have done to begin with... wrote my own back-up tool.</p>
<p>It is pretty simple and self-explanatory. I did not create it as a function to be called, although you are more than welcome to do so. The main advantage to calling it, I think, would be to pass variables. For my needs, I simply set it up in the directory. I wanted it to run and back up whichever database needed to be. The script simply backs up the database specified in an sql file located in the same directory as the script itself. The file is named in this format, "DB_Backup_YourDatabase_YYYY-MM-DD.sql"; this could be easily modified to save anywhere you have permissions to save. The code is completely free and you can do what you would like with it. If you are feeling generous, throw a shout out my way or maybe even <a title="Donate" href="http://www.webmastersbydesign.com/donate/" target="_blank">donate</a>, but neither is not required.</p>
<p>This script was written and used on a server running PHP Version 4.4.2 and MySQL Version 4.1.22.</p>
<p><a class="lightwindow" href="http://www.webmastersbydesign.com/wp-content/uploads/db_backup.phps">View Code</a><span> | </span><a title="DB Backup Script Download" href="http://www.webmastersbydesign.com/wp-content/uploads/db_backup.zip">Download File</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersbydesign.com/2008/06/unable-to-use-mysqldump-on-a-shared-host-heres-an-alternative/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

