<?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>nhaskins.com &#187; mysql</title>
	<atom:link href="http://nhaskins.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://nhaskins.com</link>
	<description>web development note book</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:44:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>php parse csv files into mysql commands</title>
		<link>http://nhaskins.com/post/php-parse-csv-files-into-mysql-commands/</link>
		<comments>http://nhaskins.com/post/php-parse-csv-files-into-mysql-commands/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 18:34:29 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://nhaskins.com/post/php-parse-csv-files-into-mysql-commands/</guid>
		<description><![CDATA[A quick script to take a .csv file, and generate some insert commands into mysql. The client hands me a spread sheet file, i drop it into a folder and run the script pretty easy.]]></description>
			<content:encoded><![CDATA[<p>A quick script to take a .csv file, and generate some insert commands into mysql.  The client hands me a spread sheet file, i drop it into a folder and run the script pretty easy.</p>
<div id="attachment_855" class="wp-caption aligncenter" style="width: 459px"><a href="http://nhaskins.com/wp-content/uploads/2010/09/Screen-shot-2010-09-30-at-1.31.45-PM.png" rel="lightbox[856]"><img src="http://nhaskins.com/wp-content/uploads/2010/09/Screen-shot-2010-09-30-at-1.31.45-PM.png" alt="" title="Screen shot 2010-09-30 at 1.31.45 PM" width="449" height="764" class="size-full wp-image-855" /></a><p class="wp-caption-text">add one csv file, and run.</p></div>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/post/php-parse-csv-files-into-mysql-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAMP setup after changing mySQL default password</title>
		<link>http://nhaskins.com/post/mamp-setup-after-changing-mysql-default-password/</link>
		<comments>http://nhaskins.com/post/mamp-setup-after-changing-mysql-default-password/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 15:53:02 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://nhaskins.com/post/mamp-setup-after-changing-mysql-default-password/</guid>
		<description><![CDATA[After changing the default password for mySQL, MAMP throws connection errors on restarting, here&#8217;s the links to go correct: Correct path: (from terminal) /Applications/MAMP/Library/bin/mysqladmin -u root -p password NEWPASSWORD /Applications/MAMP/bin/mamp/index.php /Applications/MAMP/bin/phpMyAdmin/config.inc.php /Applications/MAMP/bin/stopMysql.sh Helpful thread that gets into more detail: http://forum.mamp.info/viewtopic.php?f=2&#038;t=1719]]></description>
			<content:encoded><![CDATA[<p>After changing the default password for mySQL, MAMP throws connection errors on restarting, here&#8217;s the links to go correct:</p>
<p>Correct path:<br />
(from terminal) /Applications/MAMP/Library/bin/mysqladmin -u root -p password NEWPASSWORD<br />
/Applications/MAMP/bin/mamp/index.php<br />
/Applications/MAMP/bin/phpMyAdmin/config.inc.php<br />
/Applications/MAMP/bin/stopMysql.sh</p>
<p>Helpful thread that gets into more detail:</p>
<p><a href="http://forum.mamp.info/viewtopic.php?f=2&#038;t=1719" rel="nofollow">http://forum.mamp.info/viewtopic.php?f=2&#038;t=1719</a></p>
<p><a href="http://nhaskins.com/wp-content/uploads/2010/06/Screen-shot-2010-06-17-at-10.48.50-AM.png" rel="lightbox[804]"><img src="http://nhaskins.com/wp-content/uploads/2010/06/Screen-shot-2010-06-17-at-10.48.50-AM-300x245.png" alt="" title="Screen shot 2010-06-17 at 10.48.50 AM" width="300" height="245" class="aligncenter size-medium wp-image-803" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/post/mamp-setup-after-changing-mysql-default-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Localizing wordpress, and some handy mySQL to speed it up</title>
		<link>http://nhaskins.com/blog/localizing-wordpress-and-some-handy-mysql-to-speed-it-up/</link>
		<comments>http://nhaskins.com/blog/localizing-wordpress-and-some-handy-mysql-to-speed-it-up/#comments</comments>
		<pubDate>Mon, 03 May 2010 02:46:56 +0000</pubDate>
		<dc:creator>Nathan Haskins</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[media temple]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[simplehelix]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nhaskins.com/?p=98</guid>
		<description><![CDATA[Localizing wordpress after moving it from one domain name to another? It use to be a pain in the ass to hunt down all the link.. well it still can be. However, these mySQL find and replace commands speed it up a heck of a lot. If your theme is pretty basic, you may be [...]]]></description>
			<content:encoded><![CDATA[<p>Localizing wordpress after moving it from one domain name to another? It use to be a pain in the ass to hunt down all the link.. well it still can be. However, these mySQL find and replace commands speed it up a heck of a lot. If your theme is pretty basic, you may be done after running these.</p>
<p>In the commands below, Im going from my old dev address &#8216;studio2108.com.s52733.gridserver.com&#8217; to my new address &#8216;studio2108.simplehelix.com&#8217;. Remember to back up your database before trying this.. anyway take the 4 lines below, cut them, edit them, and then paste them into phpmyadmin&#8217;s SQL tab and your good.</p>
<p>Whats weird is the theme file has hardcoded references to studio2108.com in the header file&#8230; im finding and replacing them for now.</p>
<pre><code>update wp_posts set guid = replace(guid,'com.s52733.gridserver.com', 'simplehelix.com');
update wp_posts set post_content = replace(post_content,'com.s52733.gridserver.com', 'simplehelix.com');
update wp_options set option_value = replace(option_value,'com.s52733.gridserver.com', 'simplehelix.com');
update wp_postmeta set meta_value = replace(meta_value, 'com.s52733.gridserver.com', 'simplehelix.com');</code></pre>]]></content:encoded>
			<wfw:commentRss>http://nhaskins.com/blog/localizing-wordpress-and-some-handy-mysql-to-speed-it-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

