<?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>gHacks technology news &#187; database</title>
	<atom:link href="http://www.ghacks.net/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Mon, 09 Nov 2009 19:30:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating forms to aid OpenOffice.org Base data entry</title>
		<link>http://www.ghacks.net/2009/08/30/creating-forms-to-aid-openoffice-or-base-data-entry/</link>
		<comments>http://www.ghacks.net/2009/08/30/creating-forms-to-aid-openoffice-or-base-data-entry/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 14:48:30 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database entry]]></category>
		<category><![CDATA[database form]]></category>
		<category><![CDATA[openoffice base]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=15848</guid>
		<description><![CDATA[In the first entry to this &#8220;series&#8221; I worked through the process of creating a database with OpenOffice.org Base (&#8221;How to create a database with OpenOffice Base&#8220;.) Upon completion of that article you found yourself with a working database with no data. Fortunately OpenOffice Base includes tools to help you add data to your database. [...]]]></description>
			<content:encoded><![CDATA[<p>In the first entry to this &#8220;series&#8221; I worked through the process of creating a database with OpenOffice.org Base (&#8221;<a title="Create a database with OpenOffice base" href="http://www.ghacks.net/2009/08/26/how-to-create-a-database-with-openoffice-base/" target="_blank">How to create a database with OpenOffice Base</a>&#8220;.) Upon completion of that article you found yourself with a working database with no data. Fortunately OpenOffice Base includes tools to help you add data to your database. Oh sure you could connect that new database with MySQL and work your best MySQL magic on the database, but for the masses who aren&#8217;t MySQL gurus, having a tool that is as simple as creating a form with a Wizard is a boon to working with a Base database.</p>
<p>In this article I am going to walk you through the process of creating a form in order to enter data into the database you created with the help of the original article. To do this you will have to go back to that database. If you no longer have that database, follow the steps in the article to create a new one and then come back here.</p>
<p><span id="more-15848"></span><strong>Open the database</strong></p>
<div id="attachment_15850" class="wp-caption alignleft" style="width: 312px"><a rel="attachment wp-att-15850" href="http://www.ghacks.net/2009/08/30/creating-forms-to-aid-openoffice-or-base-data-entry/base_form_window/"><img class="size-full wp-image-15850  " src="http://www.ghacks.net/wp-content/uploads/2009/08/base_form_window.png" alt="Figure 1" width="302" height="227" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>First open up OpenOffice Base which will land on the Database Wizard. What you want to do is click &#8220;Open an existing database file&#8221; and then select the database from the drop-down. Once you have the database selected click the Finish button which will open up the database to the Forms window (see Figure 1).</p>
<p>From within this window you want to click the &#8220;Use Wizard to create form&#8221; link in the upper left pane. When you do this two windows will open. The first window will be an empty OpenOffice window which will be followed by the wizard window (see Figure 2).</p>
<div id="attachment_15851" class="wp-caption alignright" style="width: 405px"><a rel="attachment wp-att-15851" href="http://www.ghacks.net/2009/08/30/creating-forms-to-aid-openoffice-or-base-data-entry/form_wizard/"><img class="size-full wp-image-15851 " src="http://www.ghacks.net/wp-content/uploads/2009/08/form_wizard.png" alt="Figure 2" width="395" height="219" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>In the smaller of the two windows (the second to open) you will begin the process of creating your form. Use caution: Once this window is open you will have trouble giving focus to any other window on your screen (I use the Compiz &lt;Alt&gt;Tab ring switcher to get out if I need).</p>
<p>The first step in the Wizard is to select the fields you want to include. If you initially created your database exactly as you want it you most likely can just click the &#8220;&gt;&gt;&#8221; button to move all fields in to the &#8220;Fields in the form&#8221; box. If you do not want to include all of the fields just select the fields you do want to click the &#8220;&gt;&#8221; button to add them.</p>
<p>Click Next to continue on.</p>
<p>The next section is for subforms. In order to add a subform you have to have another database to relate to. If you do not have another database, or do not need a subform just click Next to continue on.</p>
<div id="attachment_15854" class="wp-caption alignleft" style="width: 405px"><a rel="attachment wp-att-15854" href="http://www.ghacks.net/2009/08/30/creating-forms-to-aid-openoffice-or-base-data-entry/base_controls/"><img class="size-full wp-image-15854 " src="http://www.ghacks.net/wp-content/uploads/2009/08/base_controls.png" alt="Figure 3" width="395" height="219" /></a><p class="wp-caption-text">Figure 3</p></div>
<p>The controls section is next. This is where you select the way you form will be arranged. This, of course, is user preference. Click the type of form you want from the available choices (See Figure 3):</p>
<ul>
<li>Columnar &#8211; labels left</li>
<li>Columnar &#8211; labels on top</li>
<li>Datasheet</li>
<li>In blocks &#8211; labels above</li>
</ul>
<p>Make your selection and click Next.</p>
<p>The next screen allows you to decide what data is shown when the form is used. You can either use the form to ONLY enter new data (which will not show previously entered data), or you can have the form show all previously entered data. If you choose to show previous data you can select to also not allow the form to modify or delete existing data.  Make your select(s) and click Next.</p>
<div id="attachment_15855" class="wp-caption alignright" style="width: 475px"><a rel="attachment wp-att-15855" href="http://www.ghacks.net/2009/08/30/creating-forms-to-aid-openoffice-or-base-data-entry/form/"><img class="size-full wp-image-15855  " src="http://www.ghacks.net/wp-content/uploads/2009/08/form.png" alt="Figure 4" width="465" height="284" /></a><p class="wp-caption-text">Figure 4</p></div>
<p>The next screen&#8217;s purpose is to set the color theme for the form. Make your choice and click Next. Finally you have to give your form a name and tell Base if you want to either work with the form immediately or modify the form. Do so and click Finish. Your form is complete and ready for data entry. Figure 4 shows a complete employee record form ready for work. Enter your data and click the Next Record button (single right-pointing arrow near the bottom) to go to a blank form. When you are done entering your data click the Save Record button.</p>
<p>When you are done you can close out the Base application.</p>
<p><strong>Final thoughts</strong></p>
<p>Creating a database was never so easy. And now, entering data into that database is even easier. Thanks to the OpenOffice Base form Wizard, you can have your database filled with data in no time.</p>

	Tags: <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/database-entry/" title="database entry" rel="tag">database entry</a>, <a href="http://www.ghacks.net/tag/database-form/" title="database form" rel="tag">database form</a>, <a href="http://www.ghacks.net/tag/openoffice-base/" title="openoffice base" rel="tag">openoffice base</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/06/13/the-internet-movie-script-database-imsdb/" title="The Internet Movie Script Database IMSDb (June 13, 2009)">The Internet Movie Script Database IMSDb</a> (0)</li>
	<li><a href="http://www.ghacks.net/2008/09/07/soundunwound-new-music-database/" title="SoundUnwound, New Music Database (September 7, 2008)">SoundUnwound, New Music Database</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/" title="Set up MySQL database replication (April 9, 2009)">Set up MySQL database replication</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/01/06/install-wikipedia-locally/" title="Install Wikipedia Locally (January 6, 2008)">Install Wikipedia Locally</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/" title="Install phpmyadmin for easy MySQL administration (December 20, 2008)">Install phpmyadmin for easy MySQL administration</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/08/30/creating-forms-to-aid-openoffice-or-base-data-entry/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to create a database with OpenOffice Base</title>
		<link>http://www.ghacks.net/2009/08/26/how-to-create-a-database-with-openoffice-base/</link>
		<comments>http://www.ghacks.net/2009/08/26/how-to-create-a-database-with-openoffice-base/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 23:59:05 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[microsoft access]]></category>
		<category><![CDATA[openoffice database]]></category>
		<category><![CDATA[OpenOffice.org]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=15725</guid>
		<description><![CDATA[If you have ever used Microsoft Office Access you know that the database is a powerful component of office life. There are many reasons to create databases. For some databases are a way of life (or a way to make a living). For others databases are a means to keep tabs on inventory, collections, or [...]]]></description>
			<content:encoded><![CDATA[<p>If you have ever used Microsoft Office Access you know that the database is a powerful component of office life. There are many reasons to create databases. For some databases are a way of life (or a way to make a living). For others databases are a means to keep tabs on inventory, collections, or enrollment. But if you are looking for an application to create databases and you don&#8217;t want to do so with a database server such as MySQL, then OpenOffice Base might be right up your ally.</p>
<p>OpenOffice Base is a  database management system capable of creating its own databases or connecting to a database created by the more powerful MySQL database server. But for the average user, creating a stand alone database is enough power. And OpenOffice Base handles this task easily.</p>
<p><span id="more-15725"></span><strong>Is it installed?<br />
</strong></p>
<p>First and foremost you have to make sure the application is there. If you look in your Office sub-menu of the Applications menu you should see an entry titled &#8220;OpenOffice.org Base&#8221; (or a variation on that theme). If you do not then you are going to have to fire up your Add/Remove Software utility, search for &#8220;openoffice&#8221; (no quotes), mark OpenOffice.org Base for installation, and click Apply to install.</p>
<p>After Base is installed go back to the menu and see if the entry is there. If so, click it.</p>
<p><strong>Running the application</strong></p>
<div id="attachment_15727" class="wp-caption alignleft" style="width: 406px"><a rel="attachment wp-att-15727" href="http://www.ghacks.net/?attachment_id=15727"><img class="size-full wp-image-15727 " src="http://www.ghacks.net/wp-content/uploads/2009/08/base_wizard.png" alt="Figure 1" width="396" height="245" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>When you first fire up OpenOffice Base the Database Wizard will start (see Figure 1). The first step is to decide what you want to do. You can:</p>
<ul>
<li>Create a new database.</li>
<li>Open an existing database.</li>
<li>Connect to an existing database (such as MySQL, Oracle, JDBC, etc)</li>
</ul>
<p>For our purposes we are going to create a new database, so select that entry and click Next.</p>
<p>The next step in the wizard asks if you want to:</p>
<ul>
<li>Register the database: Allow the other applications in OpenOffice to have access to the data in the database.</li>
<li>Open the database upon creation: Do you want to open this database up for use upon creation?</li>
<li>Create tables using table wizard: Create your database tables with the easy to use wizard.</li>
</ul>
<p>For the above I almost always:</p>
<ul>
<li>Register the database.</li>
<li>Open the database upon completion.</li>
<li>Use the table wizard to create tables.</li>
</ul>
<p>Make your selections and click Finish. When you click Finish you will be asked to save your database with a name. Save this database in a directory you will remember, otherwise you&#8217;ll wind up hunting for it later.</p>
<p>If you selected to create your tables with the Wizard, when you click Finish the Tables Wizard will open.</p>
<p><strong>Table Wizard</strong></p>
<div id="attachment_15736" class="wp-caption alignright" style="width: 436px"><a rel="attachment wp-att-15736" href="http://www.ghacks.net/?attachment_id=15736"><img class="size-full wp-image-15736 " src="http://www.ghacks.net/wp-content/uploads/2009/08/table_wizard.png" alt="Figure 2" width="426" height="233" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>The Table Wizard is simple to use (see Figure 2). The first task is to select the Category of database (Business or Personal). The difference between the categories is that Business tables are geared toward SMB and enterprise work and Personal is geared toward home use.</p>
<p>After you select your Category choose from the Sample tables drop down. This sample table will give you a selection of table types to choose from. Once you select your type you then move fields from the left column to the right. Make sure you choose your fields carefully because adding or removing them later is not easy.</p>
<p>You can also move fields up and down in the right column by selecting a field and clicking the up or down arrow. The order in which your fields are in this column will be reflected in your database, so make sure you have them in the exact order you want.</p>
<p>Once you have all of your fields in place click the Next button.</p>
<div id="attachment_15739" class="wp-caption alignleft" style="width: 441px"><a rel="attachment wp-att-15739" href="http://www.ghacks.net/?attachment_id=15739"><img class="size-full wp-image-15739 " src="http://www.ghacks.net/wp-content/uploads/2009/08/field_type.png" alt="Figure 3" width="431" height="235" /></a><p class="wp-caption-text">Figure 3</p></div>
<p>In the next window you can modify the field type and format. What you are able to modify will directly depend upon both the fields you have chosen as well as your needs. Figure 3 illustrates what you can modify in a sample Employee field listing. Here you will see the details of the FirstName field.</p>
<p>If you need to make any modifications to your fields do so at this point and click Next when you are finished.</p>
<p>The next window allows you to set a primary key. You need this otherwise you will not be able to enter data. Since primary keys are often ID numbers I tend to check off the Auto Value checkbox so I don&#8217;t have to enter a key for each record. If you do not use a field like Employee ID you can select to use a field (or combination of fields) as your keys. You can use, for example, employee first and last name as your key. Once you have configured this click Next to move on.</p>
<p>The final step is to name your table and select what to do next. Your options for what to do next are:</p>
<ul>
<li>Insert data immediately.</li>
<li>Modify the table design.</li>
<li>Create a form based on the table.</li>
</ul>
<p>You have officially created your database!</p>
<p><strong>Final thoughts</strong></p>
<p>OpenOffice Base makes creating databases fairly simple. In an upcoming article I will show you how to create a form to make filling out data for you database as easy as it was to create the database itself.</p>

	Tags: <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/microsoft-access/" title="microsoft access" rel="tag">microsoft access</a>, <a href="http://www.ghacks.net/tag/openoffice-database/" title="openoffice database" rel="tag">openoffice database</a>, <a href="http://www.ghacks.net/tag/openofficeorg/" title="OpenOffice.org" rel="tag">OpenOffice.org</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/06/13/the-internet-movie-script-database-imsdb/" title="The Internet Movie Script Database IMSDb (June 13, 2009)">The Internet Movie Script Database IMSDb</a> (0)</li>
	<li><a href="http://www.ghacks.net/2008/09/07/soundunwound-new-music-database/" title="SoundUnwound, New Music Database (September 7, 2008)">SoundUnwound, New Music Database</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/" title="Set up MySQL database replication (April 9, 2009)">Set up MySQL database replication</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/01/06/install-wikipedia-locally/" title="Install Wikipedia Locally (January 6, 2008)">Install Wikipedia Locally</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/" title="Install phpmyadmin for easy MySQL administration (December 20, 2008)">Install phpmyadmin for easy MySQL administration</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/08/26/how-to-create-a-database-with-openoffice-base/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Database Monitoring Software Db2rss</title>
		<link>http://www.ghacks.net/2009/07/30/database-monitoring-software-db2rss/</link>
		<comments>http://www.ghacks.net/2009/07/30/database-monitoring-software-db2rss/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 12:18:57 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[blackfish sql]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database monitoring]]></category>
		<category><![CDATA[db2rss]]></category>
		<category><![CDATA[interbase]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql database]]></category>
		<category><![CDATA[Network Monitoring]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14903</guid>
		<description><![CDATA[Database monitoring is not only important for businesses who want to monitor their online and offline services and applications but also for individuals. Webmasters who make use of databases like MySQL need to make sure that the databases are up and running and the best way to ensure that is to monitor them 24/7. Quite [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/microsoft_windows.jpg" alt="microsoft windows" title="microsoft windows" width="128" height="128" class="alignleft size-full wp-image-11907" />Database monitoring is not only important for businesses who want to monitor their online and offline services and applications but also for individuals. Webmasters who make use of databases like MySQL need to make sure that the databases are up and running and the best way to ensure that is to monitor them 24/7. Quite a few monitoring services exist. It is possible to use online services &#8211; most of them paid depending on the quality and quantity of monitoring &#8211; but also services that run on a local PC.</p>
<p>We have dealt with several services in the past including the <a href="http://www.ghacks.net/2009/05/28/network-monitoring-software/">network monitoring software</a> Open Monitor or the online service <a href="http://www.ghacks.net/2008/07/19/monitor-your-servers-with-livewatch/">Livewatch</a>.</p>
<p><span id="more-14903"></span>The database monitoring software dv2rss is different from these solutions. The main difference is that it can &#8211; as the title implies &#8211; monitor databases but also because it can only be run from the command line or a script. That&#8217;s not as bad as it sounds and it could be welcome in certain situations where no graphical user interface is needed or wanted.</p>
<p><a href="http://www.be-precision.com/products/precision-utils/#db2rss">Db2rss</a> supports MySQL, Interbase and Blackfish SQL databases at the moment and can monitor them in a computer network or on the Internet. It comes with several command line parameters that define important information such as the database&#8217;s host name, the username and password. There are quite a few additional parameter that include running an SQL command on the database, comparing the results to a local copy and defining templates and title of the resulting RSS feed. The RSS feed is another aspect of this database monitoring software that is usually not found in other monitoring software programs. </p>
<p>It is then possible to subscribe to the RSS feed to receive the database monitoring information after the script&#8217;s execution. The software developer suggests to use the Windows task scheduler to run the database monitoring software regularly.</p>

	Tags: <a href="http://www.ghacks.net/tag/blackfish-sql/" title="blackfish sql" rel="tag">blackfish sql</a>, <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/database-monitoring/" title="database monitoring" rel="tag">database monitoring</a>, <a href="http://www.ghacks.net/tag/db2rss/" title="db2rss" rel="tag">db2rss</a>, <a href="http://www.ghacks.net/tag/interbase/" title="interbase" rel="tag">interbase</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/mysql-database/" title="mysql database" rel="tag">mysql database</a>, <a href="http://www.ghacks.net/tag/network-monitoring/" title="Network Monitoring" rel="tag">Network Monitoring</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/01/12/backup-mysql-databases-in-linux-regularly/" title="Backup MySQL Databases In Linux Regularly (January 12, 2009)">Backup MySQL Databases In Linux Regularly</a> (11)</li>
	<li><a href="http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/" title="Set up MySQL database replication (April 9, 2009)">Set up MySQL database replication</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/" title="Install phpmyadmin for easy MySQL administration (December 20, 2008)">Install phpmyadmin for easy MySQL administration</a> (6)</li>
	<li><a href="http://www.ghacks.net/2008/11/05/have-wordpress-back-ups-emailed/" title="Have WordPress back-ups emailed (November 5, 2008)">Have WordPress back-ups emailed</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/04/17/website-monitoring-software/" title="Website Monitoring Software (April 17, 2009)">Website Monitoring Software</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/07/30/database-monitoring-software-db2rss/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Internet Movie Script Database IMSDb</title>
		<link>http://www.ghacks.net/2009/06/13/the-internet-movie-script-database-imsdb/</link>
		<comments>http://www.ghacks.net/2009/06/13/the-internet-movie-script-database-imsdb/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 11:32:37 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[imdb]]></category>
		<category><![CDATA[imsdb]]></category>
		<category><![CDATA[internet movie database]]></category>
		<category><![CDATA[internet movie script database]]></category>
		<category><![CDATA[movie scripts]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=13525</guid>
		<description><![CDATA[It is pretty obvious that the developers of the Internet Movie Script Database have taken lots of inspiration from the Internet Movie Database IMDB. The website offers movie scripts that can be viewed online or downloaded as txt files to a local computer system or mobile device.
It is possible to search the database or browse [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/06/imsdb.jpg" alt="imsdb" title="imsdb" width="123" height="96" class="alignleft size-full wp-image-13526" />It is pretty obvious that the developers of the Internet Movie Script Database have taken lots of inspiration from the Internet Movie Database <a href="http://www.ghacks.net/2009/06/01/imdb/">IMDB</a>. The website offers movie scripts that can be viewed online or downloaded as txt files to a local computer system or mobile device.</p>
<p>It is possible to search the database or browse the lists either in alphabetical order or by genre. A click on a movie title will open the page of that movie with basic information including the writer and genre of the movie. The link to the movie script is located on the very same page as are user comments about the movie.</p>
<p><span id="more-13525"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/06/internet_movie_script_database-499x288.jpg" alt="internet movie script database" title="internet movie script database" width="499" height="288" class="alignnone size-medium wp-image-13527" /></p>
<p>Each movie script is displayed on an extra page resembling a plain text document which makes it easy to copy paste them or download them as html to the computer system. The movie script database contains a long list of popular movie scripts from Ingenious Bastards and Braveheart to Basic Instinct and American Pie.</p>
<p><a href="http://www.imsdb.com">IMSDb</a> is a great resource for movie fans and writers who think about writing a movie script. The design could be better and it would be nice if movie script export or download options were available though.</p>

	Tags: <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/imdb/" title="imdb" rel="tag">imdb</a>, <a href="http://www.ghacks.net/tag/imsdb/" title="imsdb" rel="tag">imsdb</a>, <a href="http://www.ghacks.net/tag/internet-movie-database/" title="internet movie database" rel="tag">internet movie database</a>, <a href="http://www.ghacks.net/tag/internet-movie-script-database/" title="internet movie script database" rel="tag">internet movie script database</a>, <a href="http://www.ghacks.net/tag/movie-scripts/" title="movie scripts" rel="tag">movie scripts</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/09/16/imdb-finally-adds-movies/" title="IMDb Finally Adds Movies (September 16, 2008)">IMDb Finally Adds Movies</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/06/04/12-imdb-userscripts/" title="12 IMDB Userscripts (June 4, 2009)">12 IMDB Userscripts</a> (13)</li>
	<li><a href="http://www.ghacks.net/2009/06/15/x-ways-to-manipulate-websites-in-firefox/" title="x Ways To Manipulate Websites In Firefox (June 15, 2009)">x Ways To Manipulate Websites In Firefox</a> (6)</li>
	<li><a href="http://www.ghacks.net/2008/09/07/soundunwound-new-music-database/" title="SoundUnwound, New Music Database (September 7, 2008)">SoundUnwound, New Music Database</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/" title="Set up MySQL database replication (April 9, 2009)">Set up MySQL database replication</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/06/13/the-internet-movie-script-database-imsdb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set up MySQL database replication</title>
		<link>http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/</link>
		<comments>http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 17:58:26 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database replication]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=11853</guid>
		<description><![CDATA[If you use databases then you know how important it is to back them up. But backing up a database and being able to use that backup depends upon the back up being always up to date. There is a method that ensures you will always have an up to date backup. That method is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ghacks.net/wp-content/uploads/2009/04/logo_mysql_sun_a.gif"><img class="alignleft size-full wp-image-11857" src="http://www.ghacks.net/wp-content/uploads/2009/04/logo_mysql_sun_a.gif" alt="logo_mysql_sun_a" width="114" height="68" /></a>If you use databases then you know how important it is to back them up. But backing up a database and being able to use that backup depends upon the back up being always up to date. There is a method that ensures you will always have an up to date backup. That method is database replication.Replication is a way to configure a MySQL database to update on a remote server whenever the local client is updated.</p>
<p>Database replication will require the use of two machines. The reason you want to use two machines is to ensure you will always have a working copy of your database (should one machine die). When using replication you think of your machines as Master and Slave. The Master is the machine that holds the original database. The Slave is the machine that holds the replicated database (the backup per say.) Both machines must have a working MySQL installation and must be networked together. You will need root access as well as access to the database administrator on both machines.</p>
<p><span id="more-11853"></span><strong>Setting up the Master</strong></p>
<p>For purpose of example our database to replicate will be called &#8220;sample_database&#8221;.? The first thing you need to do is open up the <strong>/etc/mysql/my.conf</strong> file for editing. You need to search for the lines:</p>
<p><code>#skip-networking<br />
#bind-address = 127.0.0.1</code></p>
<p>Uncomment out these lines (remove the &#8220;#&#8221; character). If these lines do not exist, add them. Now we have to inform mysql which database we plan on replicating. For this you will add the following lines:<br />
<code>log-bin = /var/log/mysql/mysql-bin.log<br />
binlog-do-db=sample_database<br />
server-id=1</code></p>
<p>The above lines do the following:</p>
<p>Line 1: Instruct mysql what log file to use.</p>
<p>Line 2: Instruct mysql which database to replicate</p>
<p>Line 3: Instruct mysql that this machine is the master.</p>
<p>Restart mysql on this machine with the following command:</p>
<p>/etc/init.d/mysql restart</p>
<p>The next step is to log into the mysql terminal and create a user that has replication privileges. To do this issue the command:</p>
<p>mysql -u root -p</p>
<p>You will prompted for the mysql admin password. Now we have to make some mysql magic. From the mysql prompt issue the following:</p>
<p><code>GRANT REPLICATION SLAVE ON *.* TO 'USER'@'%' IDENTIFIED BY '';</code></p>
<p>Where NEW_PASSWORD is the actual password and USER is the actual username that will have replication privileges.</p>
<p>Now issue the command:</p>
<p><code>FLUSH PRIVILEGES;</code></p>
<p>You&#8217;re not done with mysql yet. Now issue the command:</p>
<p><code>USE sample_database;</code></p>
<p>And now the command:</p>
<p><code>FLUSH TABLES WITH READ LOCK;</code></p>
<p>And now you need to make sure mysql is seeing the Master and can show the status of the master with the command:</p>
<p><code>SHOW MASTER STATUS;</code></p>
<p>When you issue the above command you should see a listing printed out for your sample_database. Write this information down (you will see a Position number that you will need later).<br />
Now you need to get tables and data from the sample_database. The method I will show you requires that the database on the Master be locked momentarily. To that end the database will be unavailable until the database is unlocked. Keep this in mind when setting this up.</p>
<p>Now you&#8217;re ready to set up the Slave. Move over to the machine that will serve as the slave.</p>
<p>The first thing to do on the Slave is to create the database the Master will write to. On the slave open up the mysql shell with:</p>
<p><code>mysql -u root -p</code></p>
<p>You will be prompted for the password. Now enter the following command to create the database:</p>
<p><code>CREATE DATABASE sample_database;</code></p>
<p>And quit mysql with the &#8220;quit&#8221; command.</p>
<p>Now to configure MySQL to know it is the slave and open up the <strong>/etc/mysql/my.conf</strong> file for editing. Add the following lines:<br />
<code>server-id=2<br />
master-host=IP_ADDRESS_OF_MASTER<br />
master-user=USER<br />
master-password=USER_PASSWORD<br />
master-connect-retry=60<br />
replicate-do-db=sample_database</code></p>
<p>Where IP_ADDRESS_OF_MASTER is the actual IP address of the master server, USER is the user created on the master for replication, and USER_PASSWORD is the password given to the replication user on the Master.</p>
<p>Save that file and restart mysql on the slave with the command:</p>
<p><code>/etc/init.d/mysql restart</code></p>
<p>Now we have to load the data from the Master into the Slave. This is when the database will be locked. Here are the commands to load the data:</p>
<p><code>mysql -u root -p</code></p>
<p>Enter the mysql admin password. Now from the mysql prompt enter the following command:</p>
<p><code>LOAD DATA FROM MASTER;</code></p>
<p>Now exit the mysql prompt with the command <em>quit</em>.</p>
<p>The next step is to stop the slave so you can finish up the Slave configuration. Issue the following:</p>
<p><code>mysql -u root -p</code></p>
<p>You will prompted for the root password.</p>
<p>now enter the command:</p>
<p><code>SLAVE STOP;</code></p>
<p>Now the next command is a bit lengthy:</p>
<p><code>CHANGE MASTER TO MASTER_HOST='IP_ADDRESS_OF_MASTER', MASTER_USER='USER', MASTER_PASSWORD='USER_PASSWORD', MASTER_LOG_FILE='mysql-bin.007', MASTER_LOG_POS=NUMBER;</code></p>
<p>Where:<br />
IP_ADDRESS_OF_MASTER is the actual IP address of the Master server.<br />
USER is the actual user you created on the Master.<br />
USER_PASSWORD is the actual password you gave the user on the Master.<br />
mysql-bin.007 is the File name from the output of the SHOW MASTER STATUS command from above.<br />
MASTER_LOG_POS is the Position given in the output of the SHOW MASTER STATUS command from above.</p>
<p>Finally issue the command:</p>
<p>SLAVE START;</p>
<p>and then quit the mysql prompt with the command &#8220;quit&#8221;.</p>
<p>You&#8217;re done. If you have phpmyadmin installed you can check the status of the databases as they updated. You now have database replication up and running. Congratulations.</p>

	Tags: <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/database-replication/" title="database replication" rel="tag">database replication</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/replication/" title="replication" rel="tag">replication</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/" title="Install phpmyadmin for easy MySQL administration (December 20, 2008)">Install phpmyadmin for easy MySQL administration</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/01/12/backup-mysql-databases-in-linux-regularly/" title="Backup MySQL Databases In Linux Regularly (January 12, 2009)">Backup MySQL Databases In Linux Regularly</a> (11)</li>
	<li><a href="http://www.ghacks.net/2008/11/05/have-wordpress-back-ups-emailed/" title="Have WordPress back-ups emailed (November 5, 2008)">Have WordPress back-ups emailed</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/07/30/database-monitoring-software-db2rss/" title="Database Monitoring Software Db2rss (July 30, 2009)">Database Monitoring Software Db2rss</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/02/07/yoggie-pico-personal-mobile-security-computer/" title="Yoggie PICO Personal Mobile Security Computer (February 7, 2008)">Yoggie PICO Personal Mobile Security Computer</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backup MySQL Databases In Linux Regularly</title>
		<link>http://www.ghacks.net/2009/01/12/backup-mysql-databases-in-linux-regularly/</link>
		<comments>http://www.ghacks.net/2009/01/12/backup-mysql-databases-in-linux-regularly/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 00:08:19 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[backup database]]></category>
		<category><![CDATA[backup mysql]]></category>
		<category><![CDATA[cron job]]></category>
		<category><![CDATA[cron tab]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[linux tutorial]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql database]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=9829</guid>
		<description><![CDATA[The post Using Cron to Automate Linux Tasks by Jack got me thinking that some users might be interested in a practical example. The following tutorial will explain how to setup a small script to backup MySQL databases on a Linux server which will be run daily using a cron job. The best way to [...]]]></description>
			<content:encoded><![CDATA[<p>The post <a href="http://www.ghacks.net/2009/01/11/using-cron-to-automate-linux-tasks/">Using Cron to Automate Linux Tasks</a> by Jack got me thinking that some users might be interested in a practical example. The following tutorial will explain how to setup a small script to backup MySQL databases on a Linux server which will be run daily using a cron job. The best way to start would be to read up on the introduction by Jack about Cron so that you got a understanding of the basics.</p>
<p>We start by creating the bash script first and continue with the cron job after the bash script has been tested to work as intended. All commands in the following paragraphs are executed from the command line.</p>
<p><span id="more-9829"></span><code>vi backup.sh</code></p>
<p>This will create an empty text file in the vi editor. This will be the script that will be executed by the cron job on a daily basis.</p>
<p><code>bin/sh<br />
/usr/bin/mysqldump -A -u [Username] -p[Password] | gzip > /backups/mysqldump`date +%m_%d_%y`.gz<br />
</code></p>
<p>Press <strong>i</strong> to enter insert mode and copy and paste the two lines above in the editor. What the script does is to use the mysqldump function to create a mysql backup and store it gzipped in the backups directory using mysqldumpDate.gz as the name with data being the day the backup was created.</p>
<p>The two variables [Username] and [Password] have to be edited and the username and password of a user with sufficient rights entered. It might also be necessary to change the location of the backup folder.</p>
<p>Press <strong>ESC</strong> to enter command mode and <strong>:x</strong> to save the file.</p>
<p><code>./backup.sh</code></p>
<p>Execute the script to see if it is working correctly. It should create the dump of the MySQL database in the defined directory. It might be necessary to change the permission level of the backup.sh file if you get a permission error during execution.</p>
<p><code>chmod 755 backup.sh</code></p>
<p>If the script is working as intended it can be added as a cron job. The following command will open the user crontab list.</p>
<p><code>crontab -e</code></p>
<p>If you are in the vi editor you press i to enter insert mode again and add the following line</p>
<p><code>0 7 * * * /path/to/backup.sh</code></p>
<p>Please refer to the tutorial for a detailed instruction on how to set the cron job up to suite your needs. This one will execute the script every day on 7am.</p>
<p>It is a good idea to check back after the next execution to verify that everything is working as intended.</p>

	Tags: <a href="http://www.ghacks.net/tag/backup-database/" title="backup database" rel="tag">backup database</a>, <a href="http://www.ghacks.net/tag/backup-mysql/" title="backup mysql" rel="tag">backup mysql</a>, <a href="http://www.ghacks.net/tag/cron-job/" title="cron job" rel="tag">cron job</a>, <a href="http://www.ghacks.net/tag/cron-tab/" title="cron tab" rel="tag">cron tab</a>, <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/linux-tutorial/" title="linux tutorial" rel="tag">linux tutorial</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/mysql-database/" title="mysql database" rel="tag">mysql database</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/" title="Set up MySQL database replication (April 9, 2009)">Set up MySQL database replication</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/" title="Install phpmyadmin for easy MySQL administration (December 20, 2008)">Install phpmyadmin for easy MySQL administration</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/07/30/database-monitoring-software-db2rss/" title="Database Monitoring Software Db2rss (July 30, 2009)">Database Monitoring Software Db2rss</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/01/11/using-cron-to-automate-linux-tasks/" title="Using Cron to Automate Linux Tasks (January 11, 2009)">Using Cron to Automate Linux Tasks</a> (7)</li>
	<li><a href="http://www.ghacks.net/2008/11/05/have-wordpress-back-ups-emailed/" title="Have WordPress back-ups emailed (November 5, 2008)">Have WordPress back-ups emailed</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/01/12/backup-mysql-databases-in-linux-regularly/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Install phpmyadmin for easy MySQL administration</title>
		<link>http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/</link>
		<comments>http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 01:17:26 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux database server]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=9194</guid>
		<description><![CDATA[I have been working with LAMP (Linux Apache, MySQL, PHP) servers for a long time. But not matter how much experience I have with them one of the first things I, do after the LAMP installation, is to install phpMyAdmin. This tool makes database administration so much easier than the command line. And when your [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working with LAMP (Linux Apache, MySQL, PHP) servers for a long time. But not matter how much experience I have with them one of the first things I, do after the LAMP installation, is to install phpMyAdmin. This tool makes database administration so much easier than the command line. And when your job is rolling out sites that depend upon MySQL databases, you know how quickly MySQL can fubar a quick deployment.</p>
<p>In this article you will learn how to install and configure the phpMyAdmin MySQL tool.</p>
<p><span id="more-9194"></span>The first step is to download phpMyAdmin. You can get this tool from the <a title="phpMyAdmin download page" href="http://www.phpmyadmin.net/home_page/downloads.php" target="_blank">phpMyAdmin download page</a>. Once you have this downloaded you will need to move the file into the document root of your web server (you will need to have root or sudo access to do this and the setup) Most likely this will be either <em>/var/www/html </em>or <em>/var/www</em>. Once you have this file in the proper locaton it is time to take care of business.</p>
<p>The first thing to do is to unpack the file. The unpacking command will depend upon what file format you download. Let&#8217;s use the .gz file for an example. With the file <a href="http://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-3.1.1-english.tar.gz?download#%21md5%217b92c4a670bba085484e7f3a7c25e825">phpMyAdmin-3.1.1-english.tar.gz</a> in place issue the command:</p>
<p>tar xvzf phpMyAdmin-3.11-english.tar.gz</p>
<p>The resulting directory will be <strong>phpMyAdmin</strong>. I highly recommend changing the name of that directory to something easier to navigate and remember. I generally just change the directory with the command <em>mv phpMyAdmin phpmyadmin</em>.</p>
<p>Now that the directory is correct move into the directory. There is one file in particular you must have which is the <strong>config.inc.php<em> </em></strong>file. You will notice there is a file called <strong>config.sample.inc.php</strong>. Some documentation instructs to change the name of <strong>config.sample.inc.php</strong> to <strong>config.inc.php</strong> and make your changes from within that file. It is my opinion that method can become confusing with all of the extra options included. Instead create the new config file with the following contents (depending upon your setup):</p>
<p><code>&lt;?php<br />
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */<br />
/*<br />
* Servers configuration<br />
*/<br />
$i = 0;<br />
/*<br />
* First server<br />
*/<br />
$i++;<br />
$cfg['Servers'][$i]['user'] = 'root';<br />
$cfg['Servers'][$i]['password'] = 'ROOT_PASSWORD';<br />
$cfg['Servers'][$i]['verbose'] = '';<br />
$cfg['Servers'][$i]['host'] = 'localhost';<br />
$cfg['Servers'][$i]['port'] = '';<br />
$cfg['Servers'][$i]['socket'] = '';<br />
$cfg['Servers'][$i]['connect_type'] = 'tcp';<br />
$cfg['Servers'][$i]['extension'] = 'mysqli';<br />
$cfg['Servers'][$i]['auth_type'] = 'config';<br />
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;<br />
$cfg['Servers'][$i]['nopassword'] = true;<br />
?&gt;<br />
</code></p>
<p>There are a few pieces to note. First make sure you use the actual root mysql password where you see ROOT_PASSWORD. Also, if you want to prompted each time for your login information change <em>&#8216;config&#8217; </em>to <em>&#8216;cookie&#8217;</em> in the <em>&#8216;auth_type&#8217; </em>line.</p>
<p>Once you have that configuration file in place you should be able to log into your phpmyadmin system. To do this you will enter http://ADDRESS_TO_SERVER/phpmyadmin/ in your browser (where ADDRESS_TO_SERVER is the IP Address or URL that points to the server.</p>
<p>If, for some reason, this configuration file does not work for you give the web-based setup script a try. To run this point your browser to http://ADDRESS_TO_SERVER/phpmyadmin/setup<em> </em>to start the graphical setup process.</p>
<p>After you are logged in it should be pretty obvious how to create a new database. You simple enter thename you want to give the database and click the Create button.</p>
<p>You&#8217;re done! You now have a phpmyadmin install ready to serve you.</p>

	Tags: <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/lamp/" title="LAMP" rel="tag">LAMP</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/linux-database-server/" title="Linux database server" rel="tag">Linux database server</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/phpmyadmin/" title="phpmyadmin" rel="tag">phpmyadmin</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/" title="Set up MySQL database replication (April 9, 2009)">Set up MySQL database replication</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/10/install-drupal-on-a-lamp-server/" title="Install Drupal on a LAMP Server (February 10, 2009)">Install Drupal on a LAMP Server</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/01/12/backup-mysql-databases-in-linux-regularly/" title="Backup MySQL Databases In Linux Regularly (January 12, 2009)">Backup MySQL Databases In Linux Regularly</a> (11)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/07/23/how-to-install-a-lamp-server/" title="How to: Install a LAMP server (July 23, 2009)">How to: Install a LAMP server</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Have WordPress back-ups emailed</title>
		<link>http://www.ghacks.net/2008/11/05/have-wordpress-back-ups-emailed/</link>
		<comments>http://www.ghacks.net/2008/11/05/have-wordpress-back-ups-emailed/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 18:01:59 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[back up]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=8064</guid>
		<description><![CDATA[We are always told how important it is to back-up our blog, in case it is hacked, which does actually happen. My personal blog, Webby&#8217;s World, I am ashamed to admit, has been hacked a few times.
Backing up seems somewhat of a chore and whilst a cron job can be set up, a WordPress plug-in [...]]]></description>
			<content:encoded><![CDATA[<p>We are always told how important it is to back-up our blog, in case it is hacked, which does actually happen. My personal blog, Webby&#8217;s World, I am ashamed to admit, has been hacked a few times.</p>
<p>Backing up seems somewhat of a chore and <a href="http://www.tamba2.org.uk/wordpress/cron/">whilst a cron job can be set up</a>, a WordPress plug-in makes backing up a blog&#8217;s mySQL database absolutely hassle free.</p>
<p><a href="http://www.ilfilosofo.com/blog/wp-db-backup/">WordPress Database Backup</a> allows database backups to be emailed, saved to a hard disk or saved to a server.</p>
<p><span id="more-8064"></span>Having the back-up emailed may be favourable, especially if you use a service like <a href="http://www.ghacks.net/2009/02/09/gmail-90-tools-and-tips-to-make-you-a-gmail-pro/">Gmail</a> with large amounts of storage and reliable hosting. </p>
<p>A useful trick is to set up a Gmail filter to separate backups so quick access is available. Different tables can be backed up, so spam and statistics can be excluded.</p>
<p>Databases can be gzipped, and the SQL file inside the archive can then just be imported should the weblog to be hacked.</p>
<p>Naturally, WordPress Database Backup does not back up files, so images, templates and plugins must be backed up separately.</p>

	Tags: <a href="http://www.ghacks.net/tag/back-up/" title="back up" rel="tag">back up</a>, <a href="http://www.ghacks.net/tag/backup/" title="backup" rel="tag">backup</a>, <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/" title="Set up MySQL database replication (April 9, 2009)">Set up MySQL database replication</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/09/30/lifestream-backup-free-1-year-accounts-for-ghacks-readers/" title="Lifestream Backup: Free 1 Year Accounts For Ghacks Readers (September 30, 2009)">Lifestream Backup: Free 1 Year Accounts For Ghacks Readers</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/" title="Install phpmyadmin for easy MySQL administration (December 20, 2008)">Install phpmyadmin for easy MySQL administration</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/07/30/database-monitoring-software-db2rss/" title="Database Monitoring Software Db2rss (July 30, 2009)">Database Monitoring Software Db2rss</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/01/12/backup-mysql-databases-in-linux-regularly/" title="Backup MySQL Databases In Linux Regularly (January 12, 2009)">Backup MySQL Databases In Linux Regularly</a> (11)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/11/05/have-wordpress-back-ups-emailed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SoundUnwound, New Music Database</title>
		<link>http://www.ghacks.net/2008/09/07/soundunwound-new-music-database/</link>
		<comments>http://www.ghacks.net/2008/09/07/soundunwound-new-music-database/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 13:00:20 +0000</pubDate>
		<dc:creator>joshua</dc:creator>
				<category><![CDATA[Music Industry]]></category>
		<category><![CDATA[Music and Video]]></category>
		<category><![CDATA[Online Services]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[IMBD]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2008/09/07/soundunwound-new-music-database/</guid>
		<description><![CDATA[Whenever I want to discover some new music these days I got to 1 of 3 places; Amazon, Wikipedia and Last.FM, in that order. Amazon has got perhaps the most useful database of user reviews on the web. Eg, most of them are actually half-coherent.
Amazon also shows associated artists which are useful because once you [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever I want to discover some new music these days I got to 1 of 3 places; <a href="http://amazon.com">Amazon</a>, <a href="http://wikipedia.com">Wikipedia</a> and <a href="http://last.fm">Last.FM</a>, in that order. Amazon has got perhaps the most useful database of user reviews on the web. Eg, most of them are actually half-coherent.</p>
<p>Amazon also shows associated artists which are useful because once you start following links you can be on there all day discovering new artists.</p>
<p>Wikipedia is great for finding out the background and biography of bands and Last.Fm is sometimes useful as well. I know it should be the most useful of all, but for me personally it rarely recommends anything that I a) either haven’t heard before or b) like.</p>
<p>This week Amazon and <a href="http://imbd.com">IMBD</a> joined forces and launched the oh-so catchy <em><a href="http://soundunwound.com">SoundUnwound</a></em> online database for music (trying typing that in the address bar fast). Oh and it’s a beta, but that’s a given right?</p>
<p>What I like about it is the fact it’s dedicated music database, it’s hardly original but it differentiates itself from Wikipedia somewhat. It’s still editable by anyone and includes a number of other interactive and fairly cool features such as the discography timelines for artists below.</p>
<p> <span id="more-6844"></span>
<p>The sit also has the safeguard in place of all edits made by users first being approved by Amazon employees. I think this is a good idea as long as it’s prompt.</p>
<p>From having a bit of look around however there isn’t a huge amount here not already available on other sites like AMG or Amazon’s main site itself. In fact the best thing about Amazon was even included on UnwoundSound – the user reviews.</p>
<p>I have absolutely 0% interest in reading someone’s “shout-out” to the Beatles, but I would like to read their review of them.</p>
<p>Incidentally someone needs to invent some ‘genre-standards’ for music. Frankly as they are right now they’re useless, if we could decide on a specific set of genres and then use them across all music software and databases perhaps they could actually be useful.</p>
<p><a href="http://www.ghacks.net/wp-content/uploads/2008/09/image.png"><img style="0px" border="0" alt="image" src="http://www.ghacks.net/wp-content/uploads/2008/09/image-thumb.png" width="520" height="262" /></a></p>

	Tags: <a href="http://www.ghacks.net/tag/amazon/" title="amazon" rel="tag">amazon</a>, <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/imbd/" title="IMBD" rel="tag">IMBD</a>, <a href="http://www.ghacks.net/tag/music/" title="music" rel="tag">music</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/09/15/myspace-music-venture/" title="MySpace Music Venture (September 15, 2008)">MySpace Music Venture</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/11/09/youscrobble-a-last-fm-and-youtube-mashup-service/" title="YouScrobble A Last.FM And Youtube Mashup Service (November 9, 2009)">YouScrobble A Last.FM And Youtube Mashup Service</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/08/15/windows-media-player-import-for-winamp/" title="Windows Media Player Import for Winamp (August 15, 2009)">Windows Media Player Import for Winamp</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/07/16/winamp-ipod-plugin-2/" title="Winamp iPod Plugin (July 16, 2008)">Winamp iPod Plugin</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/08/03/winamp-auto-tagger/" title="Winamp Auto Tagger (August 3, 2008)">Winamp Auto Tagger</a> (8)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/09/07/soundunwound-new-music-database/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Install Wikipedia Locally</title>
		<link>http://www.ghacks.net/2008/01/06/install-wikipedia-locally/</link>
		<comments>http://www.ghacks.net/2008/01/06/install-wikipedia-locally/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 15:18:20 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[encyclopedia]]></category>
		<category><![CDATA[wikipedia]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2008/01/06/install-wikipedia-locally/</guid>
		<description><![CDATA[I theoretically mentioned the fact that it was possible, and in fact quite easy, to install Wikipedia locally which has several advantages but also one disadvantage. Advantages should be clear; You do not need a net connection to access the Wikipedia contents, you can distribute the solution to as many computers as you want and you can make it available in a local area network.]]></description>
			<content:encoded><![CDATA[<p>I theoretically mentioned the fact that it was possible, and in fact quite easy, to install Wikipedia locally which has several advantages but also one disadvantage. Advantages should be clear; You do not need a net connection to access the Wikipedia contents, you can distribute the solution to as many computers as you want and you can make it available in a local area network.</p>
<p>The only disadvantage that I can think of is that you will not use the latest version on their website and that you have to update the database to keep up to date. The English database file has a size of more than 3 Gigabytes &#8211; packed that is &#8211; and it can take some time to download it depending on your Internet connection. </p>
<p>I did use a download manager to make sure that the download does not get interrupted and I have to start over again. Here is the list of files that you do need, I walk you through the installation afterwards:</p>
<p><span id="more-2762"></span>
<ul>
<li><a href="http://download.wikimedia.org/enwiki/">Wikipedia Database Snapshot</a> &#8211; the file needed is currently called enwiki-latest-pages-articles.xml.bz2</li>
<li>An Apache server. I did use the free <a href="http://www.apachefriends.org/en/xampp-windows.html#641">XAMPP</a> to install it on my Windows system.</li>
<li><a href="http://wikifilter.sourceforge.net/">Wikifilter</a> &#8211; the script that makes Wikipedia available in the Apache server.</li>
</ul>
<p>I suggest you start by downloading the files needed. The Wikipedia database download will naturally take longer than the other two downloads which is excellent for our purpose. Once XAMPP has been downloaded install it. You are asked if you want to add services to your system during installation, this is not needed. Make sure you start the XAMPP control panel afterwards.</p>
<p><img src='http://www.ghacks.net/wp-content/uploads/2008/01/apache_server.jpg' alt='apache server' /></p>
<p>Keep this open and wait for the downloads to finish. Now unpack the file that contains the Wikipedia articles and wait for it to finish. The unpacked file has a size of more than 13 Gigabytes so make sure you have enough free hard drive space on that drive.<br />
Now add the date of the release in the format YYYYMMDD to the file name. I added it at the end before the .xml.</p>
<p><img src='http://www.ghacks.net/wp-content/uploads/2008/01/wikiindex.jpg' alt='wiki index' /></p>
<p>Now run WikiIndex.exe and drag and drop the XML file in the program window. It starts indexing the database file which should take a while as well (5 minutes on my system). We are almost done now.</p>
<p>You need to locate the httpd.conf file in the XAMPP directory and add an entry to it. The file is located in xampp\apache\conf. Just open it with a normal text editor and add the following line at the end:</p>
<p><em>LoadModule WikiFilter_module &#8220;C:/Program Files/WikiFilter/WikiFilter.so&#8221;</em></p>
<p>Please replace the path to the WikiFilter.so file with the path on your system. You should also note that the file path uses &#8220;/&#8221; instead of the usual &#8220;\&#8221; to separate directories.</p>
<p>Start Apache using the XAMPP control panel and point your browser to the url <em>http://localhost/wiki/</em>.</p>

	Tags: <a href="http://www.ghacks.net/tag/apache/" title="apache" rel="tag">apache</a>, <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/encyclopedia/" title="encyclopedia" rel="tag">encyclopedia</a>, <a href="http://www.ghacks.net/tag/wikipedia/" title="wikipedia" rel="tag">wikipedia</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/08/04/wikitaxi-takes-wikipedia-offline/" title="WikiTaxi Takes Wikipedia Offline (August 4, 2008)">WikiTaxi Takes Wikipedia Offline</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/01/12/visual-wikipedia/" title="Visual Wikipedia (January 12, 2009)">Visual Wikipedia</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/01/05/schools-wikipedia-cd-and-dvd-image/" title="Schools Wikipedia CD and DVD image (January 5, 2008)">Schools Wikipedia CD and DVD image</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/06/11/read-deleted-wikipedia-pages-on-deletionpedia/" title="Read Deleted Wikipedia Pages On Deletionpedia (June 11, 2009)">Read Deleted Wikipedia Pages On Deletionpedia</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/08/22/download-wikipedia-with-okawix-to-access-the-data-locally/" title="Download Wikipedia With Okawix To Access The Data Locally (August 22, 2009)">Download Wikipedia With Okawix To Access The Data Locally</a> (11)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/01/06/install-wikipedia-locally/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
