<?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>Decrypt Web &#187; MySQL</title>
	<atom:link href="http://blog.decryptweb.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.decryptweb.com</link>
	<description>Open Source Web Solutions</description>
	<lastBuildDate>Sat, 24 Jul 2010 05:58:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL Database restore</title>
		<link>http://blog.decryptweb.com/mysql-database-restore/</link>
		<comments>http://blog.decryptweb.com/mysql-database-restore/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 04:49:51 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[PHP/MySQL]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[restore]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=171</guid>
		<description><![CDATA[I have already listed the PHP script to generate backup of database in one of my earlier post.
I am listing here the PHP script to restore database from mysql database file.

&#60;?php
/* Database Restore */
$username = &#34;dbusername&#34;;  //database username
$password = 'dbpass';   //database password
$hostname = &#34;localhost&#34;;  //host
$dbname = &#34;dbname&#34;; //database name to be [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/mysql-database-restore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Insert and Retrieve file with MySQL</title>
		<link>http://blog.decryptweb.com/insert-file-mysql/</link>
		<comments>http://blog.decryptweb.com/insert-file-mysql/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 13:30:46 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[PHP/MySQL]]></category>
		<category><![CDATA[blob]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=128</guid>
		<description><![CDATA[Some of you might be knowing that there is a functionality in MySQL database for storing files and retrieving the same.
This is mainly used when we need to reduce response time for retrieving and using files in our application.
I am listing here the method for inserting image file in and retrieving image file from MySQL [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/insert-file-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Database Backup</title>
		<link>http://blog.decryptweb.com/database-backup/</link>
		<comments>http://blog.decryptweb.com/database-backup/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:12:03 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[PHP/MySQL]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=99</guid>
		<description><![CDATA[I am listing here the PHP script to generate backup of database.

&#60;?php
/* Database Backup */
$username = &#34;dbusername&#34;;  //database username
$password = 'dbpass';   //database password
$hostname = &#34;localhost&#34;;  //host
$dbname = &#34;dbname&#34;; //databse name
$sConnString = mysql_connect($hostname, $username, $password)
or die(&#34;Unable to connect to MySQL&#34;);

$name = '/pathtodirectory/db'.date('d-m-Y').'.sql.gz'; //give full path of the directory where the backup should [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/database-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Queries in Magento</title>
		<link>http://blog.decryptweb.com/magento-queries/</link>
		<comments>http://blog.decryptweb.com/magento-queries/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 12:42:48 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Connection]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Queries]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=82</guid>
		<description><![CDATA[I am describing here the method for executing custom MySQL queries in Magento.

&#60;?php
   //select query
   $read = Mage::getSingleton('core/resource')-&#62;getConnection('core_read');
//make connection
    $qry = &#34;select name FROM user_data WHERE id=1 LIMIT 1 &#34;; //query
    $res = $read-&#62;fetchRow($qry); //fetch row
    $name = $res['name']; //outputs name

  [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/magento-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect different database from Magento</title>
		<link>http://blog.decryptweb.com/connect-database-magento/</link>
		<comments>http://blog.decryptweb.com/connect-database-magento/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 15:12:28 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=14</guid>
		<description><![CDATA[Some of you might have worked on Magento.
I am listing here points for connecting another database from Magento.
1) Suppose your database for Magento Project is named ‘magento’.
2) There is one other database named ‘wp’.
3) For using this database inside Magento, you need to setup connection in ‘config.xml’ file which resides in ‘urmagentodirectory/app/etc’
4) In ‘config.xml’ there [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/connect-database-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
