<?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>Just Another Dang Blog &#187; apache</title>
	<atom:link href="http://blog.lopau.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lopau.com</link>
	<description>A tech blog on IT, web development, graphic designs, freelancing, making money online and seo.</description>
	<lastBuildDate>Mon, 19 Jul 2010 07:46:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Import sql dump using the MySQL client</title>
		<link>http://blog.lopau.com/import-sql-dump-using-the-mysql-client/</link>
		<comments>http://blog.lopau.com/import-sql-dump-using-the-mysql-client/#comments</comments>
		<pubDate>Thu, 07 May 2009 15:38:25 +0000</pubDate>
		<dc:creator>lopau</dc:creator>
				<category><![CDATA[WAMP]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.lopau.com/?p=544</guid>
		<description><![CDATA[This is useful if you don&#8217;t have access to phpmyadmin on your server but have access to ssh and ftp. Or you have a huge sql dump like 10MB or higher that you cannot import directly on phpmyadmin. In my case the phpmyadmin directory was password protected by Apache and I don&#8217;t have the right [...]


Related posts:<ol><li><a href='http://blog.lopau.com/wordpress-error-is-its-parent-directory-writable-by-the-server/' rel='bookmark' title='Permanent Link: WordPress error- Is its parent directory writable by the server?'>WordPress error- Is its parent directory writable by the server?</a></li>
<li><a href='http://blog.lopau.com/1045-access-denied-for-user-rootlocalhost-using-password-no/' rel='bookmark' title='Permanent Link: #1045 &#8211; Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)'>#1045 &#8211; Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)</a></li>
<li><a href='http://blog.lopau.com/no-renaming-tables-feature-in-phpmyadmin/' rel='bookmark' title='Permanent Link: No Renaming Tables feature in phpMyAdmin'>No Renaming Tables feature in phpMyAdmin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is useful if you don&#8217;t have access to phpmyadmin on your server but have access to ssh and ftp. Or you have a huge sql dump like 10MB or higher that you cannot import directly on phpmyadmin. In my case the phpmyadmin directory was password protected by Apache and I don&#8217;t have the right password.</p>
<p>First upload the .sql file on your server using an FTP client and remember the path. </p>
<p>eg.<br />
For Linux<br />
/home/lopau/mydump.sql</p>
<p>for Windows<br />
C:/wamp/www/lopau/mydump.sql</p>
<p>Login to your server using an SSH client like Putty.</p>
<p>On the command line access MySQL<br />
$> mysql -u username -p password </p>
<p>replace username and password with yours.</p>
<p>On the MySQL client command line access and use your database.<br />
$>  use lopaudb;</p>
<p>Now to import your dump;<br />
$> source /home/lopau/mydump.sql;</p>
<p>If successful you should see<br />
Query OK, 13 rows affected (0.00 sec)</p>
<p>That easy.</p>


<p>Related posts:<ol><li><a href='http://blog.lopau.com/wordpress-error-is-its-parent-directory-writable-by-the-server/' rel='bookmark' title='Permanent Link: WordPress error- Is its parent directory writable by the server?'>WordPress error- Is its parent directory writable by the server?</a></li>
<li><a href='http://blog.lopau.com/1045-access-denied-for-user-rootlocalhost-using-password-no/' rel='bookmark' title='Permanent Link: #1045 &#8211; Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)'>#1045 &#8211; Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)</a></li>
<li><a href='http://blog.lopau.com/no-renaming-tables-feature-in-phpmyadmin/' rel='bookmark' title='Permanent Link: No Renaming Tables feature in phpMyAdmin'>No Renaming Tables feature in phpMyAdmin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.lopau.com/import-sql-dump-using-the-mysql-client/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress error- Is its parent directory writable by the server?</title>
		<link>http://blog.lopau.com/wordpress-error-is-its-parent-directory-writable-by-the-server/</link>
		<comments>http://blog.lopau.com/wordpress-error-is-its-parent-directory-writable-by-the-server/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 17:52:24 +0000</pubDate>
		<dc:creator>lopau</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://blog.lopau.com/?p=310</guid>
		<description><![CDATA[Been using WordPress now for about 4 months on my projects and I occasionally find problems with plugins and themes but not on WordPress itself. I seem to be getting good at troubleshooting some. Yesterday my host changed servers, then I upgraded to the latest version of WordPress and everything got whack on uploading images [...]


Related posts:<ol><li><a href='http://blog.lopau.com/wordpress-parse-error-syntax-error-on-php-52x/' rel='bookmark' title='Permanent Link: WordPress parse error: syntax error on PHP 5.2.x'>WordPress parse error: syntax error on PHP 5.2.x</a></li>
<li><a href='http://blog.lopau.com/import-sql-dump-using-the-mysql-client/' rel='bookmark' title='Permanent Link: Import sql dump using the MySQL client'>Import sql dump using the MySQL client</a></li>
<li><a href='http://blog.lopau.com/wordpress-firefox-add-ons-for-screen-capture/' rel='bookmark' title='Permanent Link: WordPress Firefox add-ons for screen capture'>WordPress Firefox add-ons for screen capture</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Been using WordPress now for about 4 months on my projects and I occasionally find problems with plugins and themes but not on WordPress itself. I seem to be getting good at troubleshooting some.</p>
<p>Yesterday my host changed servers, then I upgraded to the latest version of WordPress and everything got whack on uploading images in the admin with this error.<br />
<span id="more-310"></span></p>
<blockquote><p>Unable to create directory /home/username/public_html/wp-content/uploads/2008/05. Is its parent directory writable by the server?</p></blockquote>
<p><!-- Begin Google Adsense code --></p>
<div style="float:left;padding:6px;">
<script type="text/javascript"><!--
google_ad_client = "pub-4515932012590505";
/* 200x200, created 10/29/08 */
google_ad_slot = "3929428513";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p><br style="clear:left;" /><br />
<!-- End Google Adsense code --><br />
Most people encounter the error after upgrading WordPress or changing servers</p>
<p>Here are troubleshooting steps you can do.<br />
1. With the error above, it can be assumed it is a permission problem with the folder. Default is 755, With your FTP software or WebFTP, edit the uploads folder in the wp-content to 777. Then try again.</p>
<p>2. If that doesn&#8217;t work, it can be an ownership issue. Wherein the owner of the files is apache and not your user account.</p>
<p>If you have access to SSH, you can edit the file to change ownership to</p>
<p>chown -R username:apache_user /home/username/public_html/wp-content/</p>
<p>username:apache_user for me is the ftp account, others are different.</p>
<p>3. If this doesn&#8217;t work. Check the upload path in the admin &#8211; Settings &#8211; Miscellaneous and make sure it is wp-content/uploads sometimes the upgrade or  server move changes it to the absolute path.</p>
<p>The 3rd solution worked for me. Hope you find this useful</p>


<p>Related posts:<ol><li><a href='http://blog.lopau.com/wordpress-parse-error-syntax-error-on-php-52x/' rel='bookmark' title='Permanent Link: WordPress parse error: syntax error on PHP 5.2.x'>WordPress parse error: syntax error on PHP 5.2.x</a></li>
<li><a href='http://blog.lopau.com/import-sql-dump-using-the-mysql-client/' rel='bookmark' title='Permanent Link: Import sql dump using the MySQL client'>Import sql dump using the MySQL client</a></li>
<li><a href='http://blog.lopau.com/wordpress-firefox-add-ons-for-screen-capture/' rel='bookmark' title='Permanent Link: WordPress Firefox add-ons for screen capture'>WordPress Firefox add-ons for screen capture</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.lopau.com/wordpress-error-is-its-parent-directory-writable-by-the-server/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
	</channel>
</rss>
