<?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>Computer support articles &#187; mysql</title>
	<atom:link href="http://www.mycomputeraid.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mycomputeraid.com</link>
	<description>Free computer support, articles and Guides</description>
	<lastBuildDate>Sat, 18 Sep 2010 03:46:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Linux LAMP an overview</title>
		<link>http://www.mycomputeraid.com/linux/apache/linux-lamp-an-overview/</link>
		<comments>http://www.mycomputeraid.com/linux/apache/linux-lamp-an-overview/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 05:39:33 +0000</pubDate>
		<dc:creator>MyComputerAid</dc:creator>
				<category><![CDATA[Linux Apache Webserver]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux lamp]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.mycomputeraid.com/?p=748</guid>
		<description><![CDATA[Open source software LAMP For Linux-like OS users, LAMP is a familiar acronym. It originally stood for [L]inux [A]pache [M]ySQL [P]erl, although the [P] is now commonly used to stand for PHP, Python, or Programming languages rather than being limited to Perl scripting.  This constitutes a complete web server package, and is remarkable in that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Open source software LAMP</strong></p>
<p>For Linux-like OS users, LAMP is a familiar acronym. It originally stood for [L]inux [A]pache [M]ySQL [P]erl, although the [P] is now commonly used to stand for PHP, Python, or Programming languages rather than being limited to Perl scripting.  This constitutes a complete web server package, and is remarkable in that it is Open Source software, allowing the end user the freedom to look at or even modify the source code.  In addition to the customization available through Open Source, LAMP packages, like most Linux distributions, is usually available free of charge.  Because of the unbeatable cost, as well as patly due to being included in many Linux distributions, LAMP has become a popular solution stack for creating and maintaining websites of a dynamic nature.  The basic package consists of an Operating System (Linux), a web server (Apache), a database and/or data distribution application (MySQL), and the tools needed for actually (Programming) in an applicable scripting language.  Use of the acronym is credited to being first used in 1998 in an article intended to demonstrate the feasibility of free software in high-end applications.  There are a number of AMP package variations, ranging from the scripting language used to the database being implemented (PostgresSQL is another favorite), with most packages having cross-platform versions.</p>
<p>LAMP revolves around the Linux kernel, which is the nexus of the operating system.  Linux itself has had a large role in promoting Open Source software, as it&#8217;s original purpose was to be a full featured operating system that was built upon the combined effort of the creative commons (although this was long before that term had been created).  Linux is a mid to high-end operating system, designed with more stability and flexibility than can be expected from a MS-DOS derived architecture.  It can be run on devices ranging from cell phones to mainframes, and has been recognized for years as a successor the the original UNIX OS which has been known to the academic and scientific communities since the 1970&#8242;s.</p>
<p>Apache HTTP Server is credited with playing a large role in the explosion of interactive websites starting in the second half of the 1990&#8242;s and continuing on the present day.  Beginning as a competitor to the Netscape Communications web server (known known as the Sun Java Web Server), its roots are deeply embedded in the National Center for Supercomputing Applications (NCSA).  Apache has been a market leader in webserving applications almost since it&#8217;s first release, and was thought to hold better than 49% of the total market share as recently as June of 2007.  Apache, in addition to being free and Open Source, is highly portable, with versions available for numerous OS, including Linux, UNIX, Windows, OS X, and Solaris.  As with Linux, Apache exists at least partially in support of the concept of Open Source software.</p>
<p>MySQL (pronounced My skew el) is a relational database that allows multiple connections to data, as well as having the ability to parse several different types of data dynamically.  It is Open Source, open platform, although it is based on proprietary original code owned by Sun Microsystems.  It is the driving application behind such popular online sites as Wikipedia, and is a fundamental part of the amazingly well received WordPress blogging scripts (which are nothing more than a set of MYSQL scripts, when all is said and done).</p>
<p>PHP was developed in 1995, and is considered by the Free Software Foundation to be on the list of free software available to the general public.  Originally written as a personal web page processor, it is reported to be an acronym for (Personal Home Page), and was the first known software developed expressly to create interactive web pages that could process information dynamically.  It even has the ability of allowing embedded HTML code inside commands issued from remote sources, and is beyond doubt a major player in transforming the worldwide web away from the the &#8220;online newspaper&#8221; image of the early 1990&#8242;s to the dynamic and interactive web that is widely used today.
<p><i>Article written by <a href="http://www.mycomputeraid.com">MyComputerAid.com</a></i></p>
<p class="a2a_link">
<a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Computer%20support%20articles&amp;siteurl=http%3A%2F%2Fwww.mycomputeraid.com%2F&amp;linkname=Linux%20LAMP%20an%20overview&amp;linkurl=http%3A%2F%2Fwww.mycomputeraid.com%2Flinux%2Fapache%2Flinux-lamp-an-overview%2F">
	<img  src= "http://www.mycomputeraid.com/wp-content/plugins/add-to-any/bookmark.gif"  width= "91"  height= "16"  border= "0"  alt= "Bookmark title="bookmark image" />
</a>
<script type="text/javascript">a2a_linkname="Linux LAMP an overview";a2a_linkurl="http://www.mycomputeraid.com/linux/apache/linux-lamp-an-overview/";</script>
<script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

</p><p>Post from: <a href="http://www.mycomputeraid.com">MyComputerAid.com Computer support</a></p>
<p><a href="http://www.mycomputeraid.com/linux/apache/linux-lamp-an-overview/">Linux LAMP an overview</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mycomputeraid.com/linux/apache/linux-lamp-an-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux main databases</title>
		<link>http://www.mycomputeraid.com/linux/database/linux-main-databases/</link>
		<comments>http://www.mycomputeraid.com/linux/database/linux-main-databases/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 16:50:41 +0000</pubDate>
		<dc:creator>MyComputerAid</dc:creator>
				<category><![CDATA[Linux Database]]></category>
		<category><![CDATA[linux databases]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[postgres]]></category>

		<guid isPermaLink="false">http://www.mycomputeraid.com/?p=160</guid>
		<description><![CDATA[Overview of Linux databases Linux, being a favorite among open source programming, releases many different types of applications. All Linux applications are open source and free to have and redistribute. Linux databases are no exception. Two major Linux databases are MySQL and PostgreSQL. In 1994, Hughes Technology released the first ever mSQL (mini SQL) for [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Overview of Linux databases</strong></p>
<p>Linux, being a favorite among open source programming, releases many different types of applications. All Linux applications are open source and free to have and redistribute. Linux databases are no exception. Two major Linux databases are MySQL and PostgreSQL. In 1994, Hughes Technology released the first ever mSQL (mini SQL) for Linux. This was the answer the open source world was waiting for to Microsoft SQL. The mSQL database lost favoritism over the years and was eventually replaced by MySQL by Sun Microsystems. MySQL is an open source and free database; however the Enterprise Edition can be bought for a price per server. MySQL is used on every continent and is very popular and highly available. MySQL is a comprehensive and complete database solution.</p>
<p>PostgreSQL is reliable, has data integrity, and outstanding correctness. It can be run on all major platforms including Linux, UNIX (AIX, BSD, HP-UX, SGI IRIX, Mac OS X, Solaris, Tru64), and Windows. PostgreSQL includes most data types and has full support for an array of languages. PostgreSQL is feature rich including MVCC), point in time recovery, tablespaces, nested transactions, online/hot backups, and write ahead logging for fault tolerance. This database has an unlimited database size, with 32 TB max per table, 1.6 TB max per row, and 1 GB max field size. There can be anywhere from 250 – 1600 columns in a table and an unlimited number of indexes.
<p><i>Article written by <a href="http://www.mycomputeraid.com">MyComputerAid.com</a></i></p>
<p class="a2a_link">
<a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Computer%20support%20articles&amp;siteurl=http%3A%2F%2Fwww.mycomputeraid.com%2F&amp;linkname=Linux%20main%20databases&amp;linkurl=http%3A%2F%2Fwww.mycomputeraid.com%2Flinux%2Fdatabase%2Flinux-main-databases%2F">
	<img  src= "http://www.mycomputeraid.com/wp-content/plugins/add-to-any/bookmark.gif"  width= "91"  height= "16"  border= "0"  alt= "Bookmark title="bookmark image" />
</a>
<script type="text/javascript">a2a_linkname="Linux main databases";a2a_linkurl="http://www.mycomputeraid.com/linux/database/linux-main-databases/";</script>
<script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

</p><p>Post from: <a href="http://www.mycomputeraid.com">MyComputerAid.com Computer support</a></p>
<p><a href="http://www.mycomputeraid.com/linux/database/linux-main-databases/">Linux main databases</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mycomputeraid.com/linux/database/linux-main-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple linux FTP backup script</title>
		<link>http://www.mycomputeraid.com/linux/server/simple-linux-ftp-backup-script/</link>
		<comments>http://www.mycomputeraid.com/linux/server/simple-linux-ftp-backup-script/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 06:30:27 +0000</pubDate>
		<dc:creator>MyComputerAid</dc:creator>
				<category><![CDATA[Linux scripts]]></category>
		<category><![CDATA[Server administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://www.mycomputeraid.com/?p=17</guid>
		<description><![CDATA[This is a quick and simple linux FTP backup script we use to run on clients servers that have small backups that need to be shipped off to a remote FTP server somewhere.  You can basically backup anything from here, Mysql, Apache config files, webserver files etc&#8230; Requirments: Shell access ncftp Vi or Pico/Nano editor [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick and simple linux FTP backup script we use to run on clients servers that have small backups that need to be shipped off to a remote FTP server somewhere.  You can basically backup anything from here, Mysql, Apache config files, webserver files etc&#8230;</p>
<p><strong>Requirments:</strong><br />
Shell access<br />
ncftp<br />
Vi or Pico/Nano editor<br />
Cron</p>
<p><strong>Step 1:</strong><br />
Log into your server as the user you want to run this script as (usually root).  You can then create a file somewhere on your server (I usually put the file in /etc/backup)</p>
<p># cd /etc<br />
# mkdir backup<br />
# cd backup<br />
# nano backup.sh</p>
<p><strong>Step 2:</strong><br />
Cut and paste the script I have written into the file and then edit the parts required (it is spretty streight forward to understand but I will put comments on each line &#8212; the comments will start with a * so do not add these comments into your script).  After you have edited and save the file you must chmod the file 755 to make it executable</p>
<p>#!/bin/sh<br />
HOST=&#8217;192.168.1.3&#8242;<br />
* this can be an ip address or a hostname of the destination FTP server<br />
USER=&#8217;ftpbackup&#8217;<br />
* the username of the ftp server<br />
PASSWD=&#8217;backup0012&#8242;<br />
* the password on the ftp server<br />
DATE=`/bin/date +%Y%m%d`<br />
* no edits for DATE<br />
TIME=`/bin/date +%H`<br />
* No Edits for TIME<br />
HOSTNAME=`/bin/hostname`<br />
* No edits for HOSTNAME</p>
<p>mysqldump -c -B -uroot -pfoobar DB1 DB2 mysql &gt; data.sql &amp;&amp;<br />
* This is if you want to backup your mysql database, DB1 and DB2 represent databases within mysql you want yo backup -uroot -pfoobar (change this to your mysql username and password). if you are not backing up mysql then remove the above line.</p>
<p>tar zcvf $DATE.$TIME.$HOSTNAME.tar.gz ./data.sql /etc/ /var/www &gt; /dev/null &amp;&amp;<br />
* you can edit this line as you wish if you are not backing up mysql you can remove ./data.sql, you can add directories such as /etc and /var/www</p>
<p>ncftpput -u $USER -p $PASSWD $HOST /tobebackedup $DATE.$TIME.$HOSTNAME.tar.gz ;:<br />
* nothing to edit here</p>
<p><strong>The finished script:</strong></p>
<p>#!/bin/sh<br />
HOST=&#8217;192.168.1.3&#8242;<br />
USER=&#8217;ftpbackup&#8217;<br />
PASSWD=&#8217;backup0012&#8242;<br />
DATE=`/bin/date +%Y%m%d`<br />
TIME=`/bin/date +%H`<br />
HOSTNAME=`/bin/hostname`</p>
<p>mysqldump -c -B -uroot -pfoobar DB1 DB2 mysql &gt; data.sql &amp;&amp;<br />
tar zcvf $DATE.$TIME.$HOSTNAME.tar.gz ./data.sql &gt; /dev/null &amp;&amp;</p>
<p>ncftpput -u ftpbackup -p backup0012 $HOST /tobebackedup $DATE.$TIME.$HOSTNAME.tar.gz ;:</p>
<p><strong>Running the script on a schedule (Crontab howto):</strong><br />
as the user that you want to run the backup script as type the following commands:</p>
<p>crontab -e<br />
To run weekly on Sunday enter the line:<br />
* * * * 6 /etc/backup/backup.sh
<p><i>Article written by <a href="http://www.mycomputeraid.com">MyComputerAid.com</a></i></p>
<p class="a2a_link">
<a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Computer%20support%20articles&amp;siteurl=http%3A%2F%2Fwww.mycomputeraid.com%2F&amp;linkname=Simple%20linux%20FTP%20backup%20script&amp;linkurl=http%3A%2F%2Fwww.mycomputeraid.com%2Flinux%2Fserver%2Fsimple-linux-ftp-backup-script%2F">
	<img  src= "http://www.mycomputeraid.com/wp-content/plugins/add-to-any/bookmark.gif"  width= "91"  height= "16"  border= "0"  alt= "Bookmark title="bookmark image" />
</a>
<script type="text/javascript">a2a_linkname="Simple linux FTP backup script";a2a_linkurl="http://www.mycomputeraid.com/linux/server/simple-linux-ftp-backup-script/";</script>
<script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

</p><p>Post from: <a href="http://www.mycomputeraid.com">MyComputerAid.com Computer support</a></p>
<p><a href="http://www.mycomputeraid.com/linux/server/simple-linux-ftp-backup-script/">Simple linux FTP backup script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mycomputeraid.com/linux/server/simple-linux-ftp-backup-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

