<?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>Michael Grace &#187; Database</title>
	<atom:link href="http://geek.michaelgrace.org/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://geek.michaelgrace.org</link>
	<description>All my geek in one place</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:32:22 +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>Access Local Mac Dev Environment from VM</title>
		<link>http://geek.michaelgrace.org/2010/02/access-local-mac-dev-environment-from-vm/</link>
		<comments>http://geek.michaelgrace.org/2010/02/access-local-mac-dev-environment-from-vm/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 20:20:04 +0000</pubDate>
		<dc:creator>MikeGrace</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Mac OS]]></category>
		<category><![CDATA[Web Design -Dev]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Virtual-Machine]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://geek.michaelgrace.org/?p=1268</guid>
		<description><![CDATA[Testing my web development in IE is the bane of my existence. Since I run Apache and MYSQL on my local host on my Mac it was always a trick to view my work though my Windows VM until my friend Mike Farmer showed me an easy way to access my development environment on my Mac from my virtual machine. [...]]]></description>
			<content:encoded><![CDATA[<p>Testing my web development in IE is the bane of my existence. Since I run Apache and MYSQL on my local host on my Mac it was always a trick to view my work though my Windows VM until my friend <a href="http://twitter.com/mikefarmer">Mike Farmer</a> showed me an easy way to access my development environment on my Mac from my virtual machine.</p>
<p>Steps:</p>
<ol>
<li>Get default gateway of VM machine</li>
<li>Use that address the same way you would &#8220;localhost&#8221; on your Mac</li>
</ol>
<p>Example:</p>
<div class="wp-caption alignnone" style="width: 548px"><img title="Get IP address of VM" src="https://geek-blog.s3.amazonaws.com/2010/xp-cmd-ipaddress.jpg" alt="Get IP address of VM" width="538" height="351" /><p class="wp-caption-text">Get IP address of VM</p></div>
<div class="wp-caption alignnone" style="width: 610px"><img class=" " title="Local Mac development environment" src="https://geek-blog.s3.amazonaws.com/2010/mac-local-couchdb-environment.jpg" alt="Local Mac development environment" width="600" height="441" /><p class="wp-caption-text">Local Mac development environment</p></div>
<div class="wp-caption alignnone" style="width: 610px"><img class=" " title="Dev environment from VM" src="https://mikegrace.s3.amazonaws.com/geek-blog/xp-access-mac-dev-environment.jpg" alt="Dev environment from VM" width="600" height="441" /><p class="wp-caption-text">Dev environment from VM</p></div>
]]></content:encoded>
			<wfw:commentRss>http://geek.michaelgrace.org/2010/02/access-local-mac-dev-environment-from-vm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress upload fail &#8211; unable to create directory&#8230;</title>
		<link>http://geek.michaelgrace.org/2009/05/wordpress-upload-fail-unable-to-create-directory/</link>
		<comments>http://geek.michaelgrace.org/2009/05/wordpress-upload-fail-unable-to-create-directory/#comments</comments>
		<pubDate>Sat, 09 May 2009 07:32:45 +0000</pubDate>
		<dc:creator>MikeGrace</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Web Design -Dev]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://geek.michaelgrace.org/?p=147</guid>
		<description><![CDATA[Error Message: Unable to create directory &#8230; {long directory path} &#8230; Is its parent directory writable by the server? Cause: I recently changed hosting services so when I migrated my blog over to the new server everything worked great except for my WordPress uploads. Most things in WordPress are kept relative and ask the server [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://geek.michaelgrace.org/wp-content/uploads/2009/05/wordpress_bigger.jpg"><img class="aligncenter size-full wp-image-149" title="wordpress_bigger" src="http://geek.michaelgrace.org/wp-content/uploads/2009/05/wordpress_bigger.jpg" alt="wordpress_bigger" width="150" height="150" /></a></p>
<p><strong>Error Message:</strong> Unable to create directory &#8230; {long directory path} &#8230; Is its parent directory writable by the server?</p>
<p><strong>Cause</strong>: I recently changed hosting services so when I migrated my blog over to the new server everything worked great except for my WordPress uploads. Most things in WordPress are kept relative and ask the server where things are but the path to the upload files are kept in the database so if you change servers without changing the database string pointing to the correct directory you will get an error and probably frustrated also.</p>
<p>UPDATE 05/25/09</p>
<p>Thanks to a comment from <a href="http://mattlindsaydesign.com">Matt Lindsay</a> I now realize that there is a much easier way to update the wordpress upload string in the database than digging into the actual database. A big thanks goes out to matt for making my blog better. ; )</p>
<p><strong>Quicker and easier fix</strong></p>
<ol>
<li>Login to your WordPress Admin</li>
<li>Go to &#8220;Settings&#8221;</li>
<li>Select &#8220;Miscellaneous&#8221;</li>
<li>Put the correct path in the input field labeled &#8220;Full URL path to files&#8221;</li>
<li>Save the changes and you should be done</li>
</ol>
<p><a rel="attachment wp-att-213" href="http://geek.michaelgrace.org/2009/05/wordpress-upload-fail-unable-to-create-directory/picture-11-2/"><img class="aligncenter size-full wp-image-213" title="picture-11" src="http://geek.michaelgrace.org/wp-content/uploads/2009/05/picture-11.png" alt="picture-11" width="600" height="231" /></a></p>
<p>The advantage I had in digging into the database is that when I switched hosting services only one of the folders in the path changed so I went in and just modified the one folder. This is nice if you don&#8217;t know the exact file path from the server root like me. ; )</p>
<p><strong>Older more complicated fix:</strong></p>
<ol>
<li>Login to your database for the WordPress blog.</li>
<li>Browse/ view tables in the database created when setting up the blog</li>
<li>Browse/ view table named &#8220;wp_options&#8221;</li>
<li>In the &#8220;option_name&#8221; column look for &#8220;upload_path&#8221; (was #60 for me)</li>
<li>Edit the row values and change to the correct path</li>
<li>Save changes</li>
</ol>
<p><a href="http://geek.michaelgrace.org/wp-content/uploads/2009/05/picture-4.jpg"><img class="aligncenter size-full wp-image-148" title="picture-4" src="http://geek.michaelgrace.org/wp-content/uploads/2009/05/picture-4.jpg" alt="picture-4" width="587" height="350" /></a></p>
<p>After making that change the problem should be fixed and uploading will now work. If this helped be sure to give me a shout and leave a comment. Best of luck to you. ; )</p>
<p>Sources:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
I figured this out all on my own. ; )  #HappyGeek</p>
]]></content:encoded>
			<wfw:commentRss>http://geek.michaelgrace.org/2009/05/wordpress-upload-fail-unable-to-create-directory/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Sometimes this is how I feel&#8230;</title>
		<link>http://geek.michaelgrace.org/2009/05/sometimes-this-is-how-i-feel/</link>
		<comments>http://geek.michaelgrace.org/2009/05/sometimes-this-is-how-i-feel/#comments</comments>
		<pubDate>Fri, 08 May 2009 16:44:45 +0000</pubDate>
		<dc:creator>MikeGrace</dc:creator>
				<category><![CDATA[Giggles]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://geek.michaelgrace.org/?p=139</guid>
		<description><![CDATA[Sometimes in my advanced programming and database classes I feel like I have no clue what is going on. I really love what I do and feel like I excel in my classes and other times I just feel like this video.]]></description>
			<content:encoded><![CDATA[<p>Sometimes in my advanced programming and database classes I feel like I have no clue what is going on. I really love what I do and feel like I excel in my classes and other times I just feel like this video.</p>
<p><object width="445" height="364"><param name="movie" value="http://www.youtube.com/v/Aj7f3B1VCYM&#038;hl=en&#038;fs=1&#038;rel=0&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Aj7f3B1VCYM&#038;hl=en&#038;fs=1&#038;rel=0&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://geek.michaelgrace.org/2009/05/sometimes-this-is-how-i-feel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

