<?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>celsobarriga-dot-com &#187; MySQL</title>
	<atom:link href="http://www.celsobarriga.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.celsobarriga.com</link>
	<description>Wasting bandwidth in style!</description>
	<lastBuildDate>Sun, 06 Nov 2011 21:27:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Bourne Shell Logging Routine</title>
		<link>http://www.celsobarriga.com/2007/08/28/bourne-shell-logging-routine/</link>
		<comments>http://www.celsobarriga.com/2007/08/28/bourne-shell-logging-routine/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 03:20:19 +0000</pubDate>
		<dc:creator>celso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://www.barriga.net/notes/2007/08/28/84/</guid>
		<description><![CDATA[Here&#8217;s another logging routine, this one is written in Bourne shell: #!/bin/sh log_message() { echo `date "+%m/%d/%y %H:%M:%S %Z"` "$1" &#124; tee -a aaa.out } log_message "Hello there" log_message "Goodbye" Sample output: 08/28/07 23:16:13 EDT Hello there 08/28/07 23:16:13 EDT Goodbye]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another logging routine, this one is written in Bourne shell:</p>
<pre style='color:#000000;background:#ffffff;'><span style='color:#696969; '>#!/bin/sh</span>

log_message<span style='color:#808030; '>()</span> <span style='color:#800080; '>{</span>
    <span style='color:#bb7977; font-weight:bold; '>echo</span> <span style='color:#000000; background:#ffffe8; '>`date </span><span style='color:#0000e6; background:#ffffe8; '>"+%m</span><span style='color:#40015a; background:#ffffe8; '>/</span><span style='color:#0000e6; background:#ffffe8; '>%d</span><span style='color:#40015a; background:#ffffe8; '>/</span><span style='color:#0000e6; background:#ffffe8; '>%y %H:%M:%S %Z"</span><span style='color:#000000; background:#ffffe8; '>`</span> <span style='color:#0000e6; '>"</span><span style='color:#0000e6; '>$1</span><span style='color:#0000e6; '>"</span> <span style='color:#e34adc; '>|</span> tee <span style='color:#44aadd; '>-a</span> aaa<span style='color:#800000; font-weight:bold; '>.</span>out
<span style='color:#800080; '>}</span>

log_message <span style='color:#0000e6; '>"Hello there"</span>
log_message <span style='color:#0000e6; '>"Goodbye"</span>
</pre>
<p>Sample output:</p>
<blockquote><p><code>
<pre>
08/28/07 23:16:13 EDT Hello there
08/28/07 23:16:13 EDT Goodbye
</pre>
<p></code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.celsobarriga.com/2007/08/28/bourne-shell-logging-routine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting MySQL Password</title>
		<link>http://www.celsobarriga.com/2006/08/23/setting-mysql-password/</link>
		<comments>http://www.celsobarriga.com/2006/08/23/setting-mysql-password/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 17:40:47 +0000</pubDate>
		<dc:creator>celso</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://www.barriga.net/2006/08/23/78/</guid>
		<description><![CDATA[To set up root password the first time: $ mysqladmin -u root password NeWPasSwORd To change an existing root password: $ mysqladmin -u root -p oldpassword newpass Enter password: To change a normal user password: $ mysqladmin -u dbuser-p oldpassword newpass]]></description>
			<content:encoded><![CDATA[<p>To set up root password the first time:</p>
<blockquote><pre><code>$ mysqladmin -u root password NeWPasSwORd</code></pre>
</blockquote>
<p>To change an existing root password:</p>
<blockquote><pre><code>$ mysqladmin -u root -p oldpassword newpass
Enter password:
</code></pre>
</blockquote>
<p>To change a normal user password:</p>
<blockquote><pre><code>$ mysqladmin -u dbuser-p oldpassword newpass</code></pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.celsobarriga.com/2006/08/23/setting-mysql-password/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

