<?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>Glen Lumanau &#187; database</title>
	<atom:link href="http://lumanau.web.id/tag/database/feed" rel="self" type="application/rss+xml" />
	<link>http://lumanau.web.id</link>
	<description>Nothing Special</description>
	<lastBuildDate>Fri, 30 Sep 2011 09:33:05 +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>Videoku.TV is now implement GreenSQL</title>
		<link>http://lumanau.web.id/2008/11/04/videokutv-is-now-implement-greensql.html</link>
		<comments>http://lumanau.web.id/2008/11/04/videokutv-is-now-implement-greensql.html#comments</comments>
		<pubDate>Tue, 04 Nov 2008 09:33:00 +0000</pubDate>
		<dc:creator>Glen Lumanau</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[greensql]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.lumanau.web.id/?p=70</guid>
		<description><![CDATA[What is GreenSQL? GreenSQL is an Open Source database firewall used to protect databases from SQL injection attacks. GreenSQL works as a proxy for SQL commands and has built in support for MySQL. The logic is based on evaluation of SQL commands using a risk scoring matrix as well as blocking known db administrative commands [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What is GreenSQL?</strong></p>
<p>GreenSQL is an Open Source database firewall used to protect databases from SQL injection attacks. GreenSQL works as a proxy for SQL commands and has built in support for MySQL. The logic is based on evaluation of SQL commands using a risk scoring matrix as well as blocking known db administrative commands (DROP, CREATE, etc). GreenSQL is distributed under the GPL license.</p>
<p><span id="more-70"></span></p>
<p><strong>GreenSQL Architecture</strong></p>
<p>GreenSQL works as a reverse proxy for MySQL connections. It means, that instead of MySQL server, your applications will connect to GreenSQL server. GreenSQL will analyze SQL queries and forward them to the back-end MySQL server.</p>
<p>The following picture describes the whole process.</p>
<p><a href="http://www.lumanau.web.id/wp-content/uploads/2008/11/greensql-architecturepreview.jpg"><img class="alignnone size-full wp-image-71" src="http://www.lumanau.web.id/wp-content/uploads/2008/11/greensql-architecturepreview.jpg" alt="" width="500" height="135" /></a></p>
<p>As you can see, GreenSQL calls real database server to execute SQL commands and web application connects to GreenSQL server as if it is a real database server.</p>
<p>GreenSQL can be installed together with database server on the same computer or it can use a distinct server. By default GreenSQL listens on local port <strong>127.0.0.1:3305</strong> redirecting SQL requests to <strong>127.0.0.1:3306</strong> (default MySQL settings). This settings could be altered using GreenSQL Console.</p>
<p>Source : <a href="http://www.greensql.net">GreenSQL</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lumanau.web.id/2008/11/04/videokutv-is-now-implement-greensql.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install Lighttpd, PHP5, and MySQL on FreeBSD</title>
		<link>http://lumanau.web.id/2008/10/09/how-to-install-lighttpd-php5-and-mysql-on-freebsd.html</link>
		<comments>http://lumanau.web.id/2008/10/09/how-to-install-lighttpd-php5-and-mysql-on-freebsd.html#comments</comments>
		<pubDate>Thu, 09 Oct 2008 04:42:25 +0000</pubDate>
		<dc:creator>Glen Lumanau</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://www.lumanau.web.id/?p=49</guid>
		<description><![CDATA[How do I install Lighttpd web server under FreeBSD along with MySQL 5 and PHP5? lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting [...]]]></description>
			<content:encoded><![CDATA[<p><em>How do I install Lighttpd web server under FreeBSD along with MySQL 5 and PHP5?</em></p>
<p>lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that is suffering load problems. Installing lighttpd is quite simple under FreeBSD operating system using ports.</p>
<p><strong>Lighttpd on FreeBSD</strong></p>
<p>First update your port tree by typing following commands:</p>
<p><em># portsnap fetch<br />
# portsnap update</em></p>
<p><span id="more-49"></span></p>
<p><strong>Install lighttpd web server under FreeBSD</strong></p>
<p>Lighttpd port is located under /usr/ports/www/lighttpd:<br />
<em># cd /usr/ports/www/lighttpd</em></p>
<p>Install lighttpd:</p>
<p><em># make<br />
# make install<br />
# make clean</em></p>
<p><strong>Install MySQL server</strong></p>
<p>Install MySQL server:</p>
<p><em># cd /usr/ports/databases/mysql50-server/<br />
# make<br />
# make install<br />
# make clean</em></p>
<p>Also install mysql client support</p>
<p><em># /usr/ports/databases/mysql50-client<br />
# make<br />
# make install<br />
# make clean</em></p>
<p>Finally install mysql scripts:</p>
<p><em># cd /usr/ports/databases/mysql50-scripts<br />
# make<br />
# make install<br />
# make clean</em></p>
<p><strong>Install php5 for lighttpd</strong></p>
<p>Install PHP5 scripting:<br />
<em># cd /usr/ports/lang/php5<br />
# make<br />
# make install<br />
# make clean</em></p>
<blockquote><p>Next you must install PHP5 extensions such as GD, mysql support and so on. At least select following extensions from menu:<br />
ctype: The ctype shared extension for php<br />
curl: The curl shared extension for php<br />
dom: The dom shared extension for php<br />
gd: The gd shared extension for php<br />
imap: The imap shared extension for php<br />
mbstring: The mbstring shared extension for php<br />
mcrypt: The mcrypt shared extension for php<br />
mysql: The mysql shared extension for php<br />
mysqli: The mysqli shared extension for php<br />
pcre: The pcre shared extension for php<br />
posix: The posix shared extension for php<br />
session: The session shared extension for php<br />
simplexml: The simplexml shared extension for php<br />
xml: The xml shared extension for php<br />
xmlreader: The xmlreader shared extension for php<br />
xmlwriter: The xmlwriter shared extension for php<br />
zlib: The zlib shared extension for php</p></blockquote>
<p>Type the following command:</p>
<p><em># cd /usr/ports/lang/php5-extensions<br />
# make<br />
# make install<br />
# make clean</em></p>
<p><strong>Auto start lighttpd and mysql service</strong></p>
<p>You need to enable both services. Open /etc/rc.conf:<br />
<em># vi /etc/rc.conf</em></p>
<p>Append following two lines:<br />
<em>mysql_enable=&#8221;YES&#8221;<br />
lighttpd_enable=&#8221;YES&#8221;</em></p>
<p><strong>Start Mysql Server Under FreeBSD</strong></p>
<p>To start MySQL server, enter:<br />
<em># /usr/local/etc/rc.d/mysql-server start</em></p>
<p><strong>Start Lighttpd Server Under FreeBSD</strong></p>
<p>To start Lighttpd server, enter:<br />
<em># /usr/local/etc/rc.d/lighttpd start</em></p>
<p><strong><em>This installation is not 100% yet. PHP is not integrated yet with Lighttpd</em></strong></p>
<p><strong><em>How to add PHP support to Lighttpd webserver?</em></strong></p>
<p><strong><em><a href="http://www.lumanau.web.id/2008/10/09/adding-php-into-lighttpd-webserver.html">Click here</a> for more information</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://lumanau.web.id/2008/10/09/how-to-install-lighttpd-php5-and-mysql-on-freebsd.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to Export/Import database from command line</title>
		<link>http://lumanau.web.id/2008/10/07/how-to-exportimport-database-from-command-line.html</link>
		<comments>http://lumanau.web.id/2008/10/07/how-to-exportimport-database-from-command-line.html#comments</comments>
		<pubDate>Tue, 07 Oct 2008 03:52:57 +0000</pubDate>
		<dc:creator>Glen Lumanau</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.lumanau.web.id/?p=39</guid>
		<description><![CDATA[On this post, I will tell you how to export/import MySQL database using command line. I share this because there&#8217;re many phpmyadmin injection, and probably your database server doesn&#8217;t have public IP Export mysqldump -u DBUSER -pPASSDB DBNAME &#62; DBNAME.sql Import cat /home/txxxx/FILENAMEDB.sql &#124; mysql -uUSERDB -pPASSDB NAMEDB or mysql -uUSERDB -pPASSDB NAMEDB &#60; /home/txxxxx/FILENAMEDB.sql]]></description>
			<content:encoded><![CDATA[<p>On this post, I will tell you how to export/import MySQL database using command line.</p>
<p>I share this because there&#8217;re many phpmyadmin injection, and probably your database server doesn&#8217;t have public IP</p>
<p><span id="more-39"></span></p>
<p><strong>Export </strong></p>
<p><em>mysqldump -u DBUSER -pPASSDB DBNAME &gt; DBNAME.sql</em></p>
<p><strong>Import </strong></p>
<p><em>cat /home/txxxx/FILENAMEDB.sql | mysql -uUSERDB -pPASSDB NAMEDB</em></p>
<p>or</p>
<p><em>mysql -uUSERDB -pPASSDB NAMEDB &lt; /home/txxxxx/FILENAMEDB.sql </em></p>
]]></content:encoded>
			<wfw:commentRss>http://lumanau.web.id/2008/10/07/how-to-exportimport-database-from-command-line.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

