<?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>KarkomaOnline &#187; MySQL</title>
	<atom:link href="http://www.karkomaonline.com/index.php/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.karkomaonline.com</link>
	<description>a Blog for SysAdmins and Unix stuff in general</description>
	<lastBuildDate>Fri, 30 Jul 2010 17:38:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>MySQL quick backup</title>
		<link>http://www.karkomaonline.com/index.php/2008/01/mysql-quick-backup/</link>
		<comments>http://www.karkomaonline.com/index.php/2008/01/mysql-quick-backup/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 06:34:11 +0000</pubDate>
		<dc:creator>karkoma</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.karkomaonline.com/index.php/2008/01/27/mysql-quick-backup/</guid>
		<description><![CDATA[This trick will show you how to quickly perform a MySQL backup. So let&#8217;s dump all the contents of your databases and compress them to be more portable. mysqldump -u root -p &#8211;all-databases &#124; gzip &#62; myDatabases.sql.gz If you now want to dump this data to another server, simply type: gunzip &#60; myDatabases.sql.gz &#124; mysql [...]]]></description>
			<content:encoded><![CDATA[<p>This trick will show you how to quickly perform a MySQL backup. So let&#8217;s dump all the contents of your databases and compress them to be more portable.</p>
<blockquote><p>mysqldump -u root -p &#8211;all-databases | gzip &gt; myDatabases.sql.gz</p></blockquote>
<p>If you now want to dump this data to another server, simply type:</p>
<blockquote><p>gunzip &lt; myDatabases.sql.gz | mysql -u root -p</p></blockquote>
<p>Reference:</p>
<p>Mysqldump <a href="http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/dev.mysql.com/doc/refman/5.0/en/mysqldump.html?referer=');">manual</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.karkomaonline.com/index.php/2008/01/mysql-quick-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun Microsystems acquires MySQL AB</title>
		<link>http://www.karkomaonline.com/index.php/2008/01/sun-microsystems-acquires-mysql-ab/</link>
		<comments>http://www.karkomaonline.com/index.php/2008/01/sun-microsystems-acquires-mysql-ab/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 08:30:31 +0000</pubDate>
		<dc:creator>karkoma</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.karkomaonline.com/index.php/2008/01/16/sun-microsystems-acquires-mysql-ab/</guid>
		<description><![CDATA[From Sun Microsystems web site: Sun announced an agreement to acquire MySQL AB, an open source icon and developer of one of the world&#8217;s fastest growing open source databases. This acquisition accelerates Sun&#8217;s position in enterprise IT to now include the $15 billion database market and reaffirms Sun&#8217;s position as the leading provider of platforms [...]]]></description>
			<content:encoded><![CDATA[<p>From Sun Microsystems web site:</p>
<blockquote><p>Sun announced an agreement to acquire MySQL AB, an open source icon and developer of one of the world&#8217;s fastest growing open source databases. This acquisition accelerates Sun&#8217;s position in enterprise IT to now include the $15 billion database market and reaffirms Sun&#8217;s position as the leading provider of platforms for the Web economy and its role as the largest commercial open source contributor.</p></blockquote>
<p>More information from <a href="http://www.sun.com/aboutsun/pr/2008-01/sunflash.20080116.1.xml" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.sun.com/aboutsun/pr/2008-01/sunflash.20080116.1.xml?referer=');">Sun Microsystems</a>, <a href="http://blogs.cnet.com/8301-13505_1-9851662-16.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/blogs.cnet.com/8301-13505_1-9851662-16.html?referer=');">Cnet</a> and <a href="http://blogs.mysql.com/kaj/2008/01/16/sun-acquires-mysql/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/blogs.mysql.com/kaj/2008/01/16/sun-acquires-mysql/?referer=');">MySQL</a> web site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.karkomaonline.com/index.php/2008/01/sun-microsystems-acquires-mysql-ab/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL: quick replacement</title>
		<link>http://www.karkomaonline.com/index.php/2007/12/mysql-quick-replacement/</link>
		<comments>http://www.karkomaonline.com/index.php/2007/12/mysql-quick-replacement/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 04:45:44 +0000</pubDate>
		<dc:creator>karkoma</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.karkomaonline.com/index.php/2007/12/06/mysql-quick-replacement/</guid>
		<description><![CDATA[Say that you have a table called myTable with several rows and a column called URL that contains the IP address of a log server. Now imagine that you want to change the value of URL so IP address is substituted by the server name. One way to do that is as follows: use dbname [...]]]></description>
			<content:encoded><![CDATA[<p>Say that you have a table called myTable with several rows and a column called URL that contains the IP address of a log server. Now imagine that you want to change the value of URL so IP address is substituted by the server name. One way to do that is as follows:</p>
<blockquote><p>use dbname</p>
<p>update myTbl set URL=replace(URL,&#8217;172.16.1.10&#8242;,&#8217;logserver&#8217;);</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.karkomaonline.com/index.php/2007/12/mysql-quick-replacement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing MySQL, Apache and PHP in Solaris 10</title>
		<link>http://www.karkomaonline.com/index.php/2006/12/installing-mysql-apache-and-php-in-solaris-10/</link>
		<comments>http://www.karkomaonline.com/index.php/2006/12/installing-mysql-apache-and-php-in-solaris-10/#comments</comments>
		<pubDate>Mon, 11 Dec 2006 00:43:40 +0000</pubDate>
		<dc:creator>karkoma</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.karkoma.info/index.php/2006/12/11/installing-mysql-apache-and-php-in-solaris-10/</guid>
		<description><![CDATA[This is a quick guide to install PHP4, MySQL4 and Apache2 in Solaris 10. In order to facilitate the management and installation of packages we will use the pkg-get tool. pkg-get is a tool to automate download and installation of binary packages, for example from Blastwave an Open Source software repository for Solaris. Our first [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick guide to install PHP4, MySQL4 and Apache2 in Solaris 10. In order to facilitate the management and installation of packages we will use the <em>pkg-get</em> tool. pkg-get is a tool to automate download and installation of binary packages, for example from <a href="http://www.blastwave.org/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.blastwave.org/?referer=');">Blastwave</a> an Open Source software repository for Solaris.</p>
<p>Our first task will be the installation of pkg-get. At <a href="http://www.blastwave.org/howto.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.blastwave.org/howto.html?referer=');">Blastwave</a> you&#8217;ll find a complete guide on how to undertake this task. Briefly:</p>
<blockquote><p>cd /tmp<br />
/usr/sfw/bin/wget http://www.blastwave.org/pkg_get.pkg<br />
pkgadd -d pkg_get.pkg all<br />
/usr/sfw/bin/wget http://www.blastwave.org/wget-i386.bin<br />
chmod 755 wget-i386.bin</p>
<p>PATH=/tmp:/opt/csw/bin:/usr/sbin:/usr/bin:</p>
<p> /usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin<br />
export PATH</p>
<p>vi /opt/csw/etc/pkg-get.conf</p></blockquote>
<p>Pick a <a href="http://www.blastwave.org/mirrors.php" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.blastwave.org/mirrors.php?referer=');">mirror</a> next to you. Then:</p>
<blockquote><p>pkg-get -i wget</p>
<p>PATH=/opt/csw/bin:/usr/sbin:/usr/bin:/usr/dt/bin:</p>
<p> /usr/openwin/bin:/usr/ccs/bin<br />
export PATH</p></blockquote>
<p>And now you may install other packages. But let&#8217;s focus in our target.</p>
<p>As Solaris 10 comes with MySQL and Apache installed by default, first we are going to uninstall them. Take a look at your system:</p>
<blockquote><p>pkginfo | grep -i apache</p>
<p>system      SUNWaclg                         Apache Common Logging<br />
system      SUNWapch2d                       Apache Web Server V2 Documentation<br />
system      SUNWapch2r                       Apache Web Server V2 (root)<br />
system      SUNWapch2u                       Apache Web Server V2 (usr)<br />
system      SUNWapchd                        Apache Web Server Documentation<br />
system      SUNWapchr                        Apache Web Server (root)<br />
system      SUNWapchu                        Apache Web Server (usr)</p>
<p>pkginfo | grep -i mysql</p>
<p>system      SUNWmysqlr                       mysql &#8211; MySQL Database Management System (root component)<br />
system      SUNWmysqlt                       mysql &#8211; MySQL Database Management System (test component)<br />
system      SUNWmysqlu                       mysql &#8211; MySQL Database Management System (usr component)</p></blockquote>
<p>Next task would be to uninstall these packages. Proceed as follows:</p>
<blockquote><p>pkgrm SUNWaclg SUNWapch2d SUNWapch2r SUNWapch2u SUNWapchd SUNWapchr SUNWapchu<br />
pkgrm SUNWmysqlr SUNWmysqlt SUNWmysqlu</p></blockquote>
<p>Finally, install Apache, MySQL and PHP from pkg-get:</p>
<blockquote><p>pkg-get -i apache2 mysql4 php4 mod_php</p></blockquote>
<p>That&#8217;s all. Now configure the software as usual. Note that packages installed with pkg-get reside in /opt/csw, so I recommed adding something like this to your /etc/profile:</p>
<blockquote><p>PATH=/opt/csw/bin:/opt/csw/mysql4/bin:$PATH<br />
export PATH</p></blockquote>
<p>More info:</p>
<p><a href="http://www.blastwave.org/howto.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.blastwave.org/howto.html?referer=');">pkg-get installation howto</a><br />
<a href="http://www.blastwave.org/userguide/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.blastwave.org/userguide/?referer=');"> pkg-get users guide</a><br />
<a href="http://docs.sun.com/app/docs/doc/806-7612/6jgfmsvrq?a=view" target="_blank" onclick="pageTracker._trackPageview('/outgoing/docs.sun.com/app/docs/doc/806-7612/6jgfmsvrq?a=view&amp;referer=');"> Customizing Your Working Environment</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.karkomaonline.com/index.php/2006/12/installing-mysql-apache-and-php-in-solaris-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
