<?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>billbailey.co.nz
	General
	Servers | billbailey.co.nz</title>
	<atom:link href="http://www.billbailey.co.nz/category/servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.billbailey.co.nz</link>
	<description>SEO, Affiliate Marketing, Graphic Design, Web Development</description>
	<lastBuildDate>Thu, 01 May 2014 11:09:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.23</generator>
	<item>
		<title>Connect to MySQL Servers thru a Command Line Application</title>
		<link>http://www.billbailey.co.nz/connect-to-mysql-servers-thru-a-command-line-application/</link>
		<comments>http://www.billbailey.co.nz/connect-to-mysql-servers-thru-a-command-line-application/#comments</comments>
		<pubDate>Sun, 13 Apr 2014 11:40:39 +0000</pubDate>
		<dc:creator><![CDATA[Author]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://www.billbailey.co.nz/?p=83</guid>
		<description><![CDATA[The MySQL command-line interface gives interactive feedback, and has a few very nice features. Using the command-line tool can save a lot of time, especially for things that you won&#8217;t do very often. It&#8217;s also a fantastic environment to test new queries for correctness. Learning the command-line interface is not required, but it is often [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>The MySQL command-line interface gives interactive feedback, and has a few very nice features.<br />
Using the command-line tool can save a lot of time, especially for things that you won&#8217;t do very often.<br />
It&#8217;s also a fantastic environment to test new queries for correctness.<br />
Learning the command-line interface is not required, but it is often extremely helpful, and is highly recommended.</p>
<p>Download Putty very good light weight application for ssl into your site trhu the Command Line</p>
<p><a title="Putty Command Line Application" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html</a></p>
<h3>What is PuTTY?</h3>
<p>PuTTY is a client program for the SSH, Telnet and Rlogin network protocols.</p>
<p>These protocols are all used to run a remote session on a computer, over a network.<br />
PuTTY implements the client end of that session: the end at which the session is displayed,<br />
rather than the end at which it runs.</p>
<p>In really simple terms: you run PuTTY on a Windows machine, and tell it to connect to (for example) a Unix machine.<br />
PuTTY opens a window. Then, anything you type into that window is sent straight to the Unix machine,<br />
and everything the Unix machine sends back is displayed in the window. So you can work on the Unix machine as if you were sitting at its console, while actually sitting somewhere else. formore info refer Link Below</p>
<p><a title="What is Putty" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-what" target="_blank">http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-what</a></p>
<p>Open Putty and Enter you login details such as User Name  and Password<br />
If you Dont Know these then you Shouldnt Connect</p>
<p>What login name / password should I use?</p>
<p>This is not a question you should be asking Me!!.</p>
<p>PuTTY is a communications tool, for making connections to other computers.<br />
I don&#8217;t administer any computers that you&#8217;re going to be able to use, Just like the folk  who make web browsers aren&#8217;t responsible for most of the content you can view in them.<br />
I WILLnot help with questions of this sort.</p>
<p>If you know the name of the computer you want to connect to, but don&#8217;t know what login name or password to use,  you should talk to whoever administers that computer.</p>
<div id="attachment_78" style="width: 310px" class="wp-caption alignnone"><a href="http://www.billbailey.co.nz/wp-content/uploads/2009/01/basic-putty_screen.gif"><img class="size-medium wp-image-78" title="basic-putty_screen" alt="Putty Default Screen" src="http://www.billbailey.co.nz/wp-content/uploads/2009/01/basic-putty_screen-300x287.gif" width="300" height="287" /></a><p class="wp-caption-text">Putty Default Screen</p></div>
<p>I actually set up a Saved Session for Each Site</p>
<p>HOST NAME (Or IP Address)  port Number Normally  port 22</p>
<p>freeblog.co.nz</p>
<p>Give the Session a Name the Website Name Is good</p>
<p>Hit the save Button</p>
<p>Hit the Load Button  below is what should Show</p>
<div id="attachment_81" style="width: 310px" class="wp-caption alignnone"><a href="http://www.billbailey.co.nz/wp-content/uploads/2009/01/load_saved_session.gif"><img class="size-medium wp-image-81" title="load_saved_session" alt="This a saved Putty session" src="http://www.billbailey.co.nz/wp-content/uploads/2009/01/load_saved_session-300x286.gif" width="300" height="286" /></a><p class="wp-caption-text">This a saved Putty session</p></div>
<p>Add your Login and Password at the Prompts</p>
<p>and you should be Logged In</p>
<div id="attachment_80" style="width: 310px" class="wp-caption alignnone"><a href="http://www.billbailey.co.nz/wp-content/uploads/2009/01/commandline_screen.gif"><img class="size-medium wp-image-80" title="commandline_screen" alt="This is what your Command Line Interface should Look like" src="http://www.billbailey.co.nz/wp-content/uploads/2009/01/commandline_screen-300x286.gif" width="300" height="286" /></a><p class="wp-caption-text">This is what your Command Line Interface should Look like</p></div>
<p>Now to see any Databases you have  to Login to the MySQL sERVER</p>
<p>This Should Do it</p>
<p>Username@website.com [~]# mysql -u username -ppassword;</p>
<div id="attachment_82" style="width: 310px" class="wp-caption alignnone"><a href="http://www.billbailey.co.nz/wp-content/uploads/2009/01/logged_in_mysql_server.gif"><img class="size-medium wp-image-82" title="logged_in_mysql_server" alt="This is your logged in command line interface" src="http://www.billbailey.co.nz/wp-content/uploads/2009/01/logged_in_mysql_server-300x251.gif" width="300" height="251" /></a><p class="wp-caption-text">This is your logged in command line interface</p></div>
<p>Now we want to see the Databases so its simple in the command Line type this</p>
<p>Username@website.com [~]# mysql show databases;</p>
<div id="attachment_77" style="width: 310px" class="wp-caption alignnone"><a href="http://www.billbailey.co.nz/wp-content/uploads/2009/01/show_databases_mysql_server.gif"><img class="size-medium wp-image-77" title="show_databases_mysql_server" alt="Viewing your databases in the Command Line" src="http://www.billbailey.co.nz/wp-content/uploads/2009/01/show_databases_mysql_server-300x251.gif" width="300" height="251" /></a><p class="wp-caption-text">Viewing your databases in the Command Line</p></div>
<p>So you want to Add a database now In the mysql program, issue this statement:</p>
<p>mysql&gt; CREATE DATABASE Whatever;</p>
<p>To change a Database</p>
<p>In the mysql program, issue this statement:</p>
<p>mysql&gt; use whatever;</p>
<p>Database changed</p>
<p>[usefull Mysql Tips http://billbailey.co.nz/MySQL_Useful_tips.php]</p>
<p>To Quit the MySQL Server</p>
<p>In the mysql program, issue this statement:</p>
<p>mysql&gt; quit</p>
<p>Bye</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billbailey.co.nz/connect-to-mysql-servers-thru-a-command-line-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multi-Database Step by step Installation</title>
		<link>http://www.billbailey.co.nz/multi-database-step-by-step-installation/</link>
		<comments>http://www.billbailey.co.nz/multi-database-step-by-step-installation/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 02:42:12 +0000</pubDate>
		<dc:creator><![CDATA[Author]]></dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Knowledge]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web2]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WPMU]]></category>
		<category><![CDATA[Multi Database]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Wordpress Themes]]></category>

		<guid isPermaLink="false">http://www.billbailey.co.nz/?p=90</guid>
		<description><![CDATA[Step by step installation Guide for Multi DB Introduction When I first read about Multi DB I was lured by the fact that it could streamline and break my 10,000 Table Single wp-freeblog Database into many such as 16, 256, 4096, databases, &#8220;yeah I thought, Millions of Blogs!&#8221;. Whooa down, lets get real you need [&#8230;]]]></description>
				<content:encoded><![CDATA[<h2 style="text-align: left;">Step by step installation Guide for Multi DB</h2>
<h3><span style="font-size: large;">Introduction</span></h3>
<p style="text-align: left;">When I first read about Multi DB I was lured by the fact that it could streamline and break my 10,000 Table Single wp-freeblog Database into many such as 16, 256, 4096, databases, &#8220;yeah I thought, Millions of Blogs!&#8221;.</p>
<p style="text-align: left;">Whooa down, lets get real you need to be realistic about where you will be in the Future I personally think 256 Databases is a good starting Place lets face it if you get that many you will probably be making some OK money or at least be Making enough to keep developing your Platform Ok pic a number</p>
<ol style="text-align: left;">
<li>16 Databases Up to 10,000 BLOGS</li>
<li>256 Databases Up to 50,000 to 100,000 Blogs</li>
<li>4096 Database Up to 4,000,000 Blogs</li>
</ol>
<p style="text-align: left;">
<h3 style="text-align: left;"><span style="font-size: large;">Step 1</span></h3>
<p style="text-align: left;">The first thing to do is try to create your databases now this is either Straight Forward or not depending on your server restrictions, if there are restrictions then you will possibly need to change hosts or get the server Folk to CREATE the databases and GRANT PRIVILEGES to your account for these Databases</p>
<p style="text-align: left;">How I Create Databases thru the Command Line. (Building This now)</p>
<p style="text-align: left;">Go Now and Create your Databases done then Come Back here when you have got this sorted, As we cannot move on untill its done.</p>
<p style="text-align: left;"><span id="more-90"></span></p>
<p>[ad#post-ad]</p>
<h3 style="text-align: left;"><span style="font-size: large;">Step 2</span></h3>
<p style="text-align: left;">Get the latest Multi DB Plugin  <a title="Multi Dtabase" href="http://premium.wpmudev.org/" target="_blank">HERE</a> and Unpack it on your own Local Machine</p>
<p style="text-align: left;">This is what should be inside  see the contents of this Folder minus the Zip folder,  the install notes here will only help you  put the files and Folders in the right directories which is a little dangerous Initially,  I actually Broke My site by uploading the Wrong file out of sequence so listen up</p>
<p style="text-align: left;"><strong>Below is the contents of the Multi DB Plugin</strong></p>
<p style="text-align: left;"><a href="http://www.billbailey.co.nz/wp-content/uploads/2009/02/multi_db_software.gif"><img class="size-medium wp-image-87 alignnone" title="multi_db_software" alt="" src="http://www.billbailey.co.nz/wp-content/uploads/2009/02/multi_db_software-300x224.gif" width="300" height="224" /></a></p>
<h3 style="text-align: left;"></h3>
<h3 style="text-align: left;"><span style="font-size: large;">Step 3</span></h3>
<p style="text-align: left;">OK  So you Now have your down Load  its unzipped on your local machine we are cranking</p>
<p style="text-align: left;">Now you need to take it easy here no rush load these files into  the appropriate folders</p>
<p style="text-align: left;">Firstly create a folder Called <strong> wp-content/scripts/ </strong>then load the following files</p>
<p style="text-align: left;"><strong></strong><strong>list-hashes.php</strong> &#8211; goes in /wp-content/scripts/<br />
<strong>move-blogs.php</strong> &#8211; goes in /wp-content/scripts/</p>
<p style="text-align: left;">Add these files into these directories</p>
<p style="text-align: left;"><strong>db.php </strong>- goes in   /wp-content<br />
<strong>db-config.php</strong> &#8211; goes in /wp-content/</p>
<p style="text-align: left;">Make sure that you do not FTP upload these yet, we need to groom them first!</p>
<h3 style="text-align: left;"><span style="font-size: large;">Step 4</span></h3>
<p style="text-align: left;">Ok lets establish<strong> </strong>which files need be edited</p>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">You do not need to edit the files below</span><br />
</strong></p>
<ul>
<li><strong>db.php</strong></li>
<li><strong> list-hashes</strong></li>
<li><strong> server-ip.php</strong></li>
</ul>
<p style="text-align: left;"><span style="text-decoration: underline;"><strong>The files you will need to edit</strong></span></p>
<ul>
<li><strong>move-blogs.php</strong></li>
<li><strong>db-config.php</strong></li>
</ul>
<h3 style="text-align: left;"><span style="font-size: large;">Step 5</span></h3>
<h3 style="text-align: left;">Lets Get editing this is the area we need to take care saves a lot of time</h3>
<ol>
<li><strong> move-blogs.php</strong> &#8211; which sits in <strong>/wp-content/scripts/move-blogs.php</strong></li>
</ol>
<p style="text-align: left;">The only parts you will need to edit of  <strong>move-blogs.php</strong> are below</p>
<p style="text-align: left;">$dbname ( <strong>your_current _database</strong> )<br />
$blog_table_prefix ( <strong>wp_</strong> %99 chance this wont need changing )<br />
$newdb_prefix ( <strong>mynewprefix_</strong> this is the prefix to your new 16, 256, 4096 databases )</p>
<p style="text-align: left;">Then you need to change the database connection details such as below</p>
<p style="text-align: left;">$dbhost = &#8216;<strong>localhost</strong>&#8216;;     this is probably fine no need to change<br />
$dbuname = &#8216;<strong>username</strong>&#8216;;  this is your Business<br />
$dbpass = &#8216;<strong>password</strong>&#8216;;  this is your Business</p>
<p style="text-align: left;">$db_scaling = &#8216;<strong>256</strong>&#8216;; this is where you put the amount of Databases</p>
<p style="text-align: left;">Here is part of the <strong>move-blogs.php file</strong></p>
<p style="text-align: left;"><code> /*<br />
Plugin Name: Multi-DB (Conversion Tool)<br />
Plugin URI: http://XXXXXXXXXXXXXX/project/Multiple-Databases<br />
Description:<br />
Author: Ron Dillehay - FanMail to rdillehay@hotmail.com (no tech support please) - Modified slightly by Andrew Billits (Incsub)<br />
Version: 2.6.0<br />
Author URI:<br />
Descriptiom:<br />
This script is to move blogs from a wordpress mu single database setup, to a wordpress mu multiple database setup using an MD5 hash to establish blog routing<br />
Use this script at your own risk. My test setup uses php 5, mysql 5, and wordpress mu 1.2.5a<br />
*/ </code></p>
<p style="text-align: left;">//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;//<br />
//&#8212;Config&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;//<br />
//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;//</p>
<p style="text-align: left;">///DB Settings<br />
$dbname = &#8220;<strong>your_current _database</strong>&#8220;; //This is your current database<br />
$blog_table_prefix = &#8216;<strong>wp_</strong>&#8216;; //Prefix of your wpmu blog tables, most likely this won&#8217;t need to be changed<br />
$newdb_prefix = &#8216;<strong>mynewprefix_</strong>&#8216;; //This is the prefix of the db&#8217;s you&#8217;re moving your tables into &#8211; we assume they are all the same, if not, you&#8217;re in trouble</p>
<p style="text-align: left;">//We need info to connect to the databases<br />
$dbhost = &#8216;<strong>localhost</strong>&#8216;; this is probably fine<br />
$dbuname = &#8216;<strong>username</strong>&#8216;;<br />
$dbpass = &#8216;<strong>password</strong>&#8216;;</p>
<p style="text-align: left;">//How many db&#8217;s are you moving into (16, 256, or 4096)?<br />
$db_scaling = &#8216;<strong>256</strong>&#8216;;</p>
<p style="text-align: left;">//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;//<br />
?&gt;</p>
<h3 style="text-align: left;"><span style="font-size: large;">Step 6</span></h3>
<p style="text-align: left;"><strong>We have to edit and  correct</strong> the <strong>move-blogs.php</strong> (which will throw you if your not ready)</p>
<p style="text-align: left;">Note**  there is a typo in this file which still hasn&#8217;t been corrected YET its to do with<strong> line 83</strong> and <strong>line 85 </strong>instead of a<strong> hyphen -</strong> there is an <strong>underscore  _  between move-blogs.php<br />
</strong></p>
<p style="text-align: left;">This is the original part  of<strong> move-blogs.php</strong><strong> </strong>file that is incorrect</p>
<p>//////////////////////////////////////////////////////////////////////////////////////////////</p>
<p>line 79 echo &#8220;&lt;table align=&#8217;center&#8217; class=&#8217;stats&#8217;&gt;&lt;tr&gt;&lt;td colspan=&#8217;4&#8242; align=&#8217;center&#8217;&gt;&lt;br /&gt;&lt;ol&gt;<br />
line 80   &lt;li&gt;Tested on PHP 5 &amp; MySQL 5&lt;/li&gt;<br />
line 81   &lt;li&gt;Make sure all of your new db&#8217;s exist (green text next to table name in db column below)&lt;/li&gt;<br />
line 82   &lt;li&gt;In the status section, each table should show &lt;i&gt;not in new db (unless you&#8217;ve already run this script)   &lt;/i&gt;&lt;/li&gt;<br />
<strong>line 83</strong> &lt;li&gt;To start the copy process &lt;a href=&#8217;<strong>move_blogs.php</strong>?table=copy&#8217;&gt;click here&lt;/a&gt; &lt;/li&gt;<br />
line 84  &lt;li&gt;Be patient, depending on how many blogs you have, this could take a while&lt;/li&gt;<br />
<strong>line 85</strong> &lt;li&gt;Once completed, refresh this page by &lt;a href=&#8217;<strong>move_blogs.php</strong>&#8216;&gt;clicking here&lt;/a&gt;&lt;/li&gt;<br />
line 86  &lt;li&gt;Check to make sure that in the status section all tables say &lt;i&gt;table in new db&lt;/i&gt;&lt;/li&gt;<br />
line 87  &lt;li&gt;Rejoice, I probably just saved you hours of your life!&lt;/li&gt;<br />
line 88  &lt;li&gt;If this didn&#8217;t work, don&#8217;t blame me.  Sometimes life is just like that..&lt;/li&gt;&lt;/ol&gt;<br />
line 89  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#8217;head&#8217; width=&#8217;25%&#8217;&gt;table name&lt;/td&gt;&lt;td class=&#8217;head&#8217; width=&#8217;25%&#8217;&gt;table info&lt;/td&gt;&lt;td class=&#8217;head&#8217; width=&#8217;25%&#8217;&gt;new db&lt;/td&gt;&lt;td class=&#8217;head&#8217; width=&#8217;25%&#8217;&gt;status&lt;/td&gt;&lt;/tr&gt;&#8221;;</p>
<p>/////////////////////////////////////////////////////////////////////////////////////////////</p>
<p style="text-align: left;">This is the corrected original file<strong> move-blogs.php</strong></p>
<p>line 79 echo &#8220;&lt;table align=&#8217;center&#8217; class=&#8217;stats&#8217;&gt;&lt;tr&gt;&lt;td colspan=&#8217;4&#8242; align=&#8217;center&#8217;&gt;&lt;br /&gt;&lt;ol&gt;<br />
line 80   &lt;li&gt;Tested on PHP 5 &amp; MySQL 5&lt;/li&gt;<br />
line 81   &lt;li&gt;Make sure all of your new db&#8217;s exist (green text next to table name in db column below)&lt;/li&gt;<br />
line 82   &lt;li&gt;In the status section, each table should show &lt;i&gt;not in new db (unless you&#8217;ve already run this script)   &lt;/i&gt;&lt;/li&gt;<br />
<strong>line 83</strong> &lt;li&gt;To start the copy process &lt;a href=&#8217;<strong>move-blogs.php</strong>?table=copy&#8217;&gt;click here&lt;/a&gt; &lt;/li&gt;<br />
line 84  &lt;li&gt;Be patient, depending on how many blogs you have, this could take a while&lt;/li&gt;<br />
<strong>line 85</strong> &lt;li&gt;Once completed, refresh this page by &lt;a href=&#8217;<strong>move-blogs.php</strong>&#8216;&gt;clicking here&lt;/a&gt;&lt;/li&gt;<br />
line 86  &lt;li&gt;Check to make sure that in the status section all tables say &lt;i&gt;table in new db&lt;/i&gt;&lt;/li&gt;<br />
line 87  &lt;li&gt;Rejoice, I probably just saved you hours of your life!&lt;/li&gt;<br />
line 88  &lt;li&gt;If this didn&#8217;t work, don&#8217;t blame me.  Sometimes life is just like that..&lt;/li&gt;&lt;/ol&gt;<br />
line 89  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#8217;head&#8217; width=&#8217;25%&#8217;&gt;table name&lt;/td&gt;&lt;td class=&#8217;head&#8217; width=&#8217;25%&#8217;&gt;table info&lt;/td&gt;&lt;td class=&#8217;head&#8217; width=&#8217;25%&#8217;&gt;new db&lt;/td&gt;&lt;td class=&#8217;head&#8217; width=&#8217;25%&#8217;&gt;status&lt;/td&gt;&lt;/tr&gt;&#8221;;</p>
<p>//////////////////////////////////////////////////////////////////////////////////////////////</p>
<p style="text-align: left;">When you get this working Its a thing of Beauty and Saves you Heaps of time</p>
<p style="text-align: left;">Thats it for now do not FTP this file  ACROSS TILL I say !!!</p>
<h3 style="text-align: left;"><span style="font-size: large;">Step7</span></h3>
<p style="text-align: left;">Now the  Next Most Important Part which is setting Up the <strong>db-config.php</strong></p>
<p style="text-align: left;"><a title="Multi DB Configuration File" href="http://freeblog.co.nz/images/db-config.txt " target="_blank">Multi DB Configuratrion</a> this is based on my set up so you may have less Global tables to add or more depending on your Installed plugins</p>
<p style="text-align: left;">There are Four areas of editing here</p>
<p style="text-align: left;"><strong>DB SCALING &gt;&gt;&gt; THIS IS WHERE WE STIPULATE THE AMOUNT OF DATABASES YOU HAVE</strong></p>
<p style="text-align: left;">////////////////&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;////////////////</p>
<p style="text-align: left;">//   E.G  16, 256, 4096<br />
define (&#8216;DB_SCALING&#8217;, &#8217;256&#8242;);</p>
<p style="text-align: left;"><strong>DC IPs  &gt;&gt;&gt; THIS IS THE SERVER IP ADDRESS OF YOUR WEBSITE HOST</strong></p>
<p style="text-align: left;">////////////////&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;////////////////</p>
<p style="text-align: left;">//    Usage: add_dc_ip(IP, DC)<br />
//    EX: add_dc_ip(&#8217;123.123.123.&#8217;, &#8216;dc1&#8242;);<br />
add_dc_ip(&#8217;127.127.127.25&#8242;, &#8216;dc1&#8242;);  this is where you<br />
<strong>GLOBAL TABLES &gt;&gt;&gt; THESE ARE YOUR GLOBAL TABLES</strong></p>
<p style="text-align: left;"><strong> These are an Example of my global tables you must use your own as they will be different<br />
</strong></p>
<p style="text-align: left;"><code>///////////////--------------------------////////////////</code></p>
<p style="text-align: left;">// Do not include default global tables PREFIX as in  Leave off base prefix (eg: <strong>wp_</strong>)</p>
<p style="text-align: left;">//    Usage: add_global_table(TABLE_NAME)<br />
//    EX: add_global_table(&#8216;<strong>something</strong>&#8216;);<br />
add_global_table(&#8216;blogs&#8217;);<br />
add_global_table(&#8216;blogs_cets_topics&#8217;);<br />
add_global_table(&#8216;blogs_cets_topics_relationships&#8217;);<br />
add_global_table(&#8216;blog_activity&#8217;);<br />
add_global_table(&#8216;blog_types&#8217;);<br />
add_global_table(&#8216;blog_versions&#8217;);<br />
add_global_table(&#8216;comment_activity&#8217;);<br />
add_global_table(&#8216;mass_mailer&#8217;);<br />
add_global_table(&#8216;post_activity&#8217;);<br />
add_global_table(&#8216;registration_log&#8217;);<br />
add_global_table(&#8216;signups&#8217;);<br />
add_global_table(&#8216;wsignup_blog_types&#8217;);<br />
add_global_table(&#8216;site&#8217;);<br />
add_global_table(&#8216;sitecategories&#8217;);<br />
add_global_table(&#8216;sitemeta&#8217;);<br />
add_global_table(&#8216;spam&#8217;);<br />
add_global_table(&#8216;support_faq&#8217;);<br />
add_global_table(&#8216;support_faq_cats&#8217;);<br />
add_global_table(&#8216;support_tickets&#8217;);<br />
add_global_table(&#8216;support_tickets_cats&#8217;);<br />
add_global_table(&#8216;support_tickets_messages&#8217;);<br />
add_global_table(&#8216;wusermeta&#8217;);<br />
add_global_table(&#8216;users&#8217;);<br />
add_global_table(&#8216;user_activity&#8217;);</p>
<p style="text-align: left;">Go in thru your server end and get into the Database that way</p>
<p style="text-align: left;">You can get all the global Tables from your Current single WPMU Database wp_global be as thorough as you can take your Time and get it right</p>
<p style="text-align: left;"><strong>These are the CONNECTION DETAILS FOR LOCATION OF DATABASE  these need be correct</strong></p>
<p style="text-align: left;"><a title="Multi DB Configuration File" href="http://freeblog.co.nz/images/db-config.txt " target="_blank">Multi DB Configuratrion</a> Go here and have another Lookat my config file</p>
<p style="text-align: left;">Create your Database SQL <a title="Multi DB Configuration creator" href="http://db-tools.wpmudev.org/db_servers.php" target="_blank">HERE</a> this is a great tool the easy way to create the databases</p>
<p style="text-align: left;"><code>// Usage: add_db_server(DS, DC, READ, WRITE, HOST, LAN_HOST, NAME, USER, PASS)<br />
// EX: add_db_server('global', 'dc1', 1, 1,'global.mysql.example.com:3509','global.mysql.example.lan:3509', 'global-db', 'globaluser', 'globalpassword');<br />
//<br />
// Note: you can also place this section in a file called db-list.php in wp-content</code></p>
<p style="text-align: left;"><code>add_db_server('global', 'dc1', 1, 1,'127.0.0.1','63.247.133.25', 'freeblog_global', 'someuser', 'xxxx');</code></p>
<p style="text-align: left;">add_db_server(&#8217;00&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_00&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;01&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_01&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;02&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_02&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;03&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_03&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;04&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_04&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;05&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_05&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;06&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_06&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;07&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_07&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;08&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_08&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;09&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_09&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;0a&#8217;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_0a&#8217;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;0b&#8217;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_0b&#8217;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;0c&#8217;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_0c&#8217;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;0d&#8217;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_0d&#8217;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;0e&#8217;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_0e&#8217;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;0f&#8217;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_0f&#8217;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;10&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_10&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;11&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_11&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;12&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_12&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;13&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_13&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;14&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_14&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;15&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_15&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;16&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_16&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;17&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_17&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;18&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_18&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;19&#8242;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_19&#8242;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);<br />
add_db_server(&#8217;1a&#8217;, &#8216;dc1&#8242;, 1, 1,&#8217;127.0.0.1&#8242;,&#8217;63.247.133.25&#8242;, &#8216;freeblog_1a&#8217;, &#8216;someuser&#8217;, &#8216;xxxx&#8217;);</p>
<p style="text-align: left;">OK you done yet does your <a title="Multi DB Configuration File" href="http://freeblog.co.nz/images/db-config.txt " target="_blank">Multi DB Configuratrion</a> look like this great lets get to the exciting bit, I bet there is a little bit of paranoia  in the back of your mind follow it and double check!</p>
<h3 style="text-align: left;"><span style="font-size: large;">Step 8</span></h3>
<p style="text-align: left;">So here we are standing at the Abyss ready to take the Plunge Ok lets do it&#8230;</p>
<p style="text-align: left;"><strong>FTP move-blogs.php into wp-content/scripts/move-blogs.php</strong></p>
<p style="text-align: left;">then Open a browser and navigate to www.yoursite.com/wp-content/scripts/move-blogs.php</p>
<p style="text-align: left;">you should see this Image below.</p>
<div id="attachment_94" style="width: 310px" class="wp-caption alignnone"><a href="http://www.billbailey.co.nz/wp-content/uploads/2009/02/multi-db_move-blogs-start-screen.gif"><img class="size-medium wp-image-94" title="multi-db_move-blogs-start-screen" alt="Your Start Screen for Moving Blogs into Multi Databases" src="http://www.billbailey.co.nz/wp-content/uploads/2009/02/multi-db_move-blogs-start-screen-300x225.gif" width="300" height="225" /></a><p class="wp-caption-text">Your Start Screen for Moving Blogs into Multi Databases</p></div>
<p style="text-align: left;">OK no time for hesitation go to step 4 which says..</p>
<p style="text-align: left;"><strong>4.</strong> To start the Copy process <a title="This is where you would click on tne Move Blogs screen" href="http://#">click here</a> this is Just a dummy link on this site for your benefit</p>
<p style="text-align: left;">Ok sit Back its going to take a wee while depending on the size of your database and you will see some error output but do not Panic its Part of the process</p>
<p style="text-align: left;">see image below</p>
<div id="attachment_89" style="width: 310px" class="wp-caption alignnone"><a href="http://www.billbailey.co.nz/wp-content/uploads/2009/02/expected_errors_multidatabase_conversion.gif"><img class="size-medium wp-image-89" title="expected_errors_multidatabase_conversion" alt="Expected output errors during Move process" src="http://www.billbailey.co.nz/wp-content/uploads/2009/02/expected_errors_multidatabase_conversion-300x249.gif" width="300" height="249" /></a><p class="wp-caption-text">Expected output errors during Move process</p></div>
<p style="text-align: left;">after process is completed refresh your Browser and you should see this BELOW</p>
<div id="attachment_88" style="width: 310px" class="wp-caption alignnone"><a href="http://www.billbailey.co.nz/wp-content/uploads/2009/02/completed_multi_database_conversion.gif"><img class="size-medium wp-image-88" title="completed_multi_database_conversion" alt="Blog move into Multi Databases complete" src="http://www.billbailey.co.nz/wp-content/uploads/2009/02/completed_multi_database_conversion-300x225.gif" width="300" height="225" /></a><p class="wp-caption-text">Blog move into Multi Databases complete</p></div>
<p style="text-align: left;">Go get your self a drink and feel happy with yourself you just moved all of your blogs in to  256 Databases (or how ever many you where going for)sit back and revel for a second you did good</p>
<p style="text-align: left;"><strong>Oh and thank you Andrew for you great script</strong></p>
<h3 style="text-align: left;"><span style="font-size: large;">Step 9</span></h3>
<p style="text-align: left;">Ok Now is when you put or FTP the rest of your files across</p>
<p><strong>db.php </strong>- goes in   /wp-content<br />
<strong>db-config.php</strong> &#8211; goes in /wp-content/</p>
<p>these files will take over from your DB CONFIG FILES by default you do not need to change any thing in wp-config.php</p>
<p>Well actually I did just to prove that I was using the new Multi database setup  by commenting out the second line defining the Database name //define(&#8216;DB_NAME&#8217;, &#8216;myold_singledatabase&#8217;);</p>
<p><code>define('WP_CACHE', true); //Added by WP-Cache Manager<br />
<strong>//define('DB_NAME', 'myold_singledatabase');    I commented this line out</strong><br />
define('DB_USER', '<strong>username</strong>');     // Your MySQL username<br />
define('DB_PASSWORD', '<strong>Password</strong>'); // ...and password<br />
define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value<br />
define('DB_CHARSET', 'utf8');<br />
define('DB_COLLATE', '');<br />
define('VHOST', 'yes');<br />
$base = '/';</code></p>
<p>Also there is one other part in this config which you just leave alone I&#8217;ve seen a few people get hung up on it so don&#8217;t!</p>
<p><code>define( "WP_USE_MULTIPLE_DB", false );  no need to touch this at all</code></p>
<p style="text-align: left;">
<p>Now also Something else is how the hell do you find where blogs are in 256 Databases easy</p>
<p>First thing is to get the Blog Id and enter it<a title="MD5 Hash tool" href="http://calc.wpmudev.org/md5.php" target="_blank"> here</a> using this MD5 Hash tool say if i put  blog id  2 into the submit box  the result is this</p>
<p><strong>c81e728d9d4c2f636f067f89cc14862c</strong> The relevant parts of this result are the first 2 or three Numbers</p>
<p>Now go to database <strong>c8</strong> and I bet your blog Id 2 tables are there, Magic aye and much faster then tryng to skim 10000 tables</p>
<p>So good Luck if you dont uderstand this or follow it Im sorry let me know where the problem is and I try to clarify it</p>
<p>Regards Bill Bailey</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billbailey.co.nz/multi-database-step-by-step-installation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Google has got problems</title>
		<link>http://www.billbailey.co.nz/google-has-got-problems/</link>
		<comments>http://www.billbailey.co.nz/google-has-got-problems/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 08:23:03 +0000</pubDate>
		<dc:creator><![CDATA[Author]]></dc:creator>
				<category><![CDATA[Facts]]></category>
		<category><![CDATA[Global]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Web2]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Data Center]]></category>
		<category><![CDATA[Huge web]]></category>
		<category><![CDATA[Problems]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Search Engine]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Worlds Biggest Computer]]></category>

		<guid isPermaLink="false">http://www.billbailey.co.nz/?p=60</guid>
		<description><![CDATA[&#160; The web is huge the web consumes 4% of North American Power Google has got problems What are Google s Problems, well lets look into but first we need to change the way we think, so lets scale up the way we think because the average internet user has no idea what belies the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<h1>The web is huge</h1>
<h3>the web consumes 4% of North American Power</h3>
<h3><strong>Google has got problems</strong></h3>
<p>What are Google s Problems, well lets look into but first we need to change the way we think, so lets scale up the way we think because the average internet user has no idea what belies the Google search page, after all its just a browser and a search result right !<br />
[ad#post-ad]</p>
<h3>The Facts</h3>
<h2>BIGGEST COMPUTER ON EARTH</h2>
<p>Google use alot of computors 200,000.00 to 400,000.00 and increasing daily some suggest even up to 600,000.00 to 800,000.00 ?</p>
<h3 style="text-align: center;">A Google Data center</h3>
<div id="attachment_68" style="width: 310px" class="wp-caption aligncenter"><a href="http://www.billbailey.co.nz/wp-content/uploads/2008/11/google-data-center.jpg"><img class="size-medium wp-image-68" title="google-data-center" alt="Google Data Center there are 36 worlwide" src="http://www.billbailey.co.nz/wp-content/uploads/2008/11/google-data-center-300x118.jpg" width="300" height="118" /></a><p class="wp-caption-text">Google Data Center there are 36 world wide</p></div>
<p><span id="more-60"></span></p>
<p>600 million dollars each the size of three football fields under cover with a Four story cooling tower.</p>
<p>No two data centers are alike each Data center has 10 &#8211; 12 clusters at 2000 machines per cluster giving a total of 20,000.00</p>
<p>American data centers consume more power then American televisions, over 4 years  the cost of a computers power is half the cost of the hardware.</p>
<div id="attachment_69" style="width: 310px" class="wp-caption aligncenter"><a href="http://www.billbailey.co.nz/wp-content/uploads/2008/11/google-data-center1.jpg"><img class="size-medium wp-image-69" title="google-data-center-map" alt=" Google Data Centers" src="http://www.billbailey.co.nz/wp-content/uploads/2008/11/google-data-center1-300x145.jpg" width="300" height="145" /></a><p class="wp-caption-text">Google Data Centers</p></div>
<p><strong>Googles power usage  is close to 50MW  or  $5000 per Hour (Not very Green)</strong><br />
Google has to build its own custom designed mother Boards as-well-as power supplies. ( * Note: Google&#8217;s custom built power supplies are 90% efficient where commercial units are 70%)</p>
<h2>FAILURE IS AN OPTION</h2>
<p>In the first year for a new Data center there will be at least 1000 Machine failures, Thousands of Disk drive failures, One power unit will will fail taking out between 500 &#8211; 1000 machines for 6 hours, there is also a 50% chance a cluster will fail taking 1 &#8211; 2 days to recover a minimum of 20 racks  will fail!</p>
<p><strong>Google quote : </strong>&#8220;Our view is its better to have twice as much hardware thats not as reliable than half as much thats more reliable&#8221;</p>
<p>Custom software is how Google handle failure</p>
<p style="text-align: center;"><a href="http://www.billbailey.co.nz/wp-content/uploads/2008/11/servidores_en_datacenter.jpg"><img class="size-medium wp-image-70  aligncenter" title="servidores_en_datacenter" alt="" src="http://www.billbailey.co.nz/wp-content/uploads/2008/11/servidores_en_datacenter-297x300.jpg" width="297" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.billbailey.co.nz/google-has-got-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wamp server For Windows</title>
		<link>http://www.billbailey.co.nz/wamp-server-for-windows/</link>
		<comments>http://www.billbailey.co.nz/wamp-server-for-windows/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 22:54:33 +0000</pubDate>
		<dc:creator><![CDATA[Author]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Web2]]></category>

		<guid isPermaLink="false">http://www.billbailey.co.nz/2008/07/27/wamp-server-for-windows/</guid>
		<description><![CDATA[WAMP5 is an installer for Windows It installs a complete Server (WAMP) solution on your Windows computer. WAMP Stands  for : Windows &#8211; Apache &#8211; MySQL- PHP5 WAMP5 automatically configures them to work together, wherever you install them on your local drive. These softwares are installed : Apache 1.3.x. PHP 5.x.x MySQL 4.x.x PHPmyadmin SQLitemanager [&#8230;]]]></description>
				<content:encoded><![CDATA[<h2>WAMP5 is an installer for Windows</h2>
<p>It installs a complete Server (WAMP) solution on your Windows computer.</p>
<p><strong>WAMP Stands  for :</strong></p>
<p><strong>Windows &#8211; Apache &#8211; MySQL- PHP5</strong></p>
<p>WAMP5 automatically configures them to work together, wherever you install them on your local drive.<br />
These softwares are installed :</p>
<p>Apache 1.3.x.<br />
PHP 5.x.x<br />
MySQL 4.x.x<br />
PHPmyadmin<br />
SQLitemanager<br />
Wampserver service manager<br />
WAMP5 comes with a service manager as an icon tray. This manager will allow you to fully control your server and local projects.</p>
<p>WAMP5 is not designed for production but as a development environment. With WAMP5, you will be able to create you scripts locally on your computer, test them and then upload them on your production server.</p>
<p>The Wamp team  have configured Apache and MySQL servers with default configuration files to have the most standard platform. You can then adapt it to your personal needs.</p>
<p>During the Wamp installation,  a <strong>www </strong>directory is created in WAMP5&#8242;s directory. Just put your script files (php files) in this directory and access your localhost threw an Internet Windows or the service manager (icon tray).</p>
<h3>How to install</h3>
<p><span id="more-12"></span><br />
[ad#post-ad]</p>
<p><strong>Download the latest release of WAMP5 on one of the following sites : </strong></p>
<p>http://www.wampserver.com  (French Website)<br />
http://www.en.wampserver.com  (English Website)</p>
<p><strong>Double-click on the file to start installing.</strong></p>
<p>WAMP5 will ask you where to install. You can install wherever you want, WAMP5 builds configuration files to reflect your choice. But don&#8217;t forget that some scripts and modules don&#8217;t like long names and special characters like spaces. We recommend you to leave default directory c:\wamp</p>
<p>WAMP5 will then ask you if want to install the option &#8220;Auto Start&#8221;.<br />
If you check this option, services will be installed as automatic and a link to the service manager will be copied to your startup menu.<br />
Otherwise, services will be installed as manual and will start and stop with the service manager</p>
<p>After installation, you can directly start using your server. You should first change MySQL&#8217;s root default password. You can do it threw PHPmyadmin. Please read PHPmyadmin&#8217;s documentation for more information.</p>
<h3>How to upgrade</h3>
<p>WAMP5 is now build to upgrade directly without loosing your data (since WAMP 1.0).</p>
<p>All you need to do is download the new version, shut down your local server and install this new version. It will automatically detect if you have existing scripts or databases (this will only work if you haven&#8217;t moved the /www and /data directories).</p>
<p>Your configuration files won&#8217;t be overwritten, just modified to fit changes of versions.</p>
<h3>Installed services</h3>
<p>When you install WAMP5, two services are installed on your computer :</p>
<p>wampapache (Apache service)<br />
wampmysqld (MySQL service)</p>
<p>If you choose the &#8216;Auto Start&#8217; option, those two services will be installed as automatic. This means that they will launch automatically on startup. This is interesting if you want you server to always be available. The service manager will also launch on startup. If you need to stop your server, you can do it threw the service manager or, even simpler, just close the manager, services will automatically stop.</p>
<p>If you don&#8217;t choose th &#8216;Auto Start&#8217; option, services will be installed as manual. This means that they will only run when you start them. This is interesting if you want your server to be available only when you need it. To start your server, just launch the service manager, services will be automatically started. To stop your server, close the manager, services will automatically stop.</p>
<p>You can also disable one of the services if you don&#8217;t need it. For example, if you don&#8217;t need MySQL, just choose &#8216;remove service&#8217; threw the service manager. The service will then be stopped and removed. The manager will then only manage the apache service. If you need MySQL again, just choose &#8216;install service&#8217; threw the manager and start MySQL.</p>
<h3>Configuration files</h3>
<p><strong>Apache, PHP5 and MySQL all have a configuration files. Here are the location of these files : </strong></p>
<p>apache<br />
install_dir\apache\conf\httpd.conf</p>
<p>PHP<br />
install_dir\apache\php.ini</p>
<p>MySQL<br />
c:\windows\mywamp.ini</p>
<p>You can access these three files threw the service manager. Theses files are unique to WAMP5 so you can have other servers than WAMP5 installed in the same time.</p>
<h3>using WAMP5</h3>
<p>Well using WAMP5 is very easy. Just launch WAMP5 and start coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billbailey.co.nz/wamp-server-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About</title>
		<link>http://www.billbailey.co.nz/about/</link>
		<comments>http://www.billbailey.co.nz/about/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 06:47:29 +0000</pubDate>
		<dc:creator><![CDATA[Author]]></dc:creator>
				<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://www.billbailey.co.nz/?page_id=2</guid>
		<description><![CDATA[This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many pages like this one or sub-pages as you like and manage all of your content inside of WordPress.]]></description>
				<content:encoded><![CDATA[<p>This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many pages like this one or sub-pages as you like and manage all of your content inside of WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billbailey.co.nz/about/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
