<?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>PHP Trivandrum &#187; mysql</title>
	<atom:link href="http://www.php-trivandrum.org/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.php-trivandrum.org</link>
	<description>Get addicted to PHP</description>
	<lastBuildDate>Tue, 22 Jun 2010 02:56:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL: Optimize all tables; Run using cron</title>
		<link>http://www.php-trivandrum.org/mysql/mysql-optimize-all-tables-run-using-cron/</link>
		<comments>http://www.php-trivandrum.org/mysql/mysql-optimize-all-tables-run-using-cron/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 17:31:17 +0000</pubDate>
		<dc:creator>jijutm</dc:creator>
				<category><![CDATA[Linux Shell]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[cron]]></category>

		<guid isPermaLink="false">http://www.php-trivandrum.org/?p=1040</guid>
		<description><![CDATA[I was looking for a optimize table script and finally stumbled upon some code which could be salvaged into a shell script. The full code is reproduced here for future reference.

#!/bin/bash&#160;
#-- I usually add the root username and password to the ~/.my.cnf
MYSQL_CMD='/usr/bin/mysql ' &#160;
$MYSQL_CMD -e "SELECT concat('OPTIMIZE TABLE ',TABLE_SCHEMA,'.',TABLE_NAME,';') as cmd FROM information_schema.TABLES WHERE TABLE_SCHEMA [...]]]></description>
		<wfw:commentRss>http://www.php-trivandrum.org/mysql/mysql-optimize-all-tables-run-using-cron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Bash to take incremental backups on MySQL database</title>
		<link>http://www.php-trivandrum.org/general-articles/using-bash-to-take-incremental-backups-on-mysql-database/</link>
		<comments>http://www.php-trivandrum.org/general-articles/using-bash-to-take-incremental-backups-on-mysql-database/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 16:43:22 +0000</pubDate>
		<dc:creator>jijutm</dc:creator>
				<category><![CDATA[General Articles]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.php-trivandrum.org/?p=1015</guid>
		<description><![CDATA[The backup plan was to have a full backup of data and structure every Sunday and then difference of the database from last sunday to every other day, rotate the backups every fourth week.]]></description>
		<wfw:commentRss>http://www.php-trivandrum.org/general-articles/using-bash-to-take-incremental-backups-on-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting datetime type into JavaScript as Date object</title>
		<link>http://www.php-trivandrum.org/javascript/getting-datetime-type-into-javascript-as-date-object/</link>
		<comments>http://www.php-trivandrum.org/javascript/getting-datetime-type-into-javascript-as-date-object/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 02:49:58 +0000</pubDate>
		<dc:creator>jijutm</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://www.php-trivandrum.org/?p=1010</guid>
		<description><![CDATA[When selecting datetime to be displayed in a JavaScript ui library, select the unix_timestamp * 1000 from the sql]]></description>
		<wfw:commentRss>http://www.php-trivandrum.org/javascript/getting-datetime-type-into-javascript-as-date-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Session TimeZones and DateTime fields</title>
		<link>http://www.php-trivandrum.org/general-articles/session-timezones-and-datetime-fields/</link>
		<comments>http://www.php-trivandrum.org/general-articles/session-timezones-and-datetime-fields/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 18:20:36 +0000</pubDate>
		<dc:creator>jijutm</dc:creator>
				<category><![CDATA[General Articles]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://www.php-trivandrum.org/?p=1007</guid>
		<description><![CDATA[I was pondering over how to coax mysql (and mssql) to automagically select local time if a session variable was set with the required timezone]]></description>
		<wfw:commentRss>http://www.php-trivandrum.org/general-articles/session-timezones-and-datetime-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migration from MySQL to MSSQL &#8211; Quick Tip</title>
		<link>http://www.php-trivandrum.org/tips/migration-from-mysql-to-mssql-quick-tip/</link>
		<comments>http://www.php-trivandrum.org/tips/migration-from-mysql-to-mssql-quick-tip/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 02:25:26 +0000</pubDate>
		<dc:creator>jijutm</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://www.php-trivandrum.org/tips/migration-from-mysql-to-mssql-quick-tip/</guid>
		<description><![CDATA[With the help of some colleagues, I could export all the indexes and primary keys, which we were using from a MySQL table as MSSQL compatiable TSQL using a union query and on the MySQL <i>information_schema</i>.
]]></description>
		<wfw:commentRss>http://www.php-trivandrum.org/tips/migration-from-mysql-to-mssql-quick-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL vs MsSQL &#8211; comparisons never end</title>
		<link>http://www.php-trivandrum.org/general-articles/mysql-vs-mssql-comparisons-never-end/</link>
		<comments>http://www.php-trivandrum.org/general-articles/mysql-vs-mssql-comparisons-never-end/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 17:52:21 +0000</pubDate>
		<dc:creator>jijutm</dc:creator>
				<category><![CDATA[General Articles]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://www.php-trivandrum.org/code-snippets/mysql-vs-mssql-comparisons-never-end/</guid>
		<description><![CDATA[Search for the title, and you will land in several sites, which will tell you the views of the author. In fact there may be hell lot of people who would tell you that one out performs the other. But in reality what does that mean ?. If one knows how to optimize the database [...]]]></description>
		<wfw:commentRss>http://www.php-trivandrum.org/general-articles/mysql-vs-mssql-comparisons-never-end/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Migration from MySQL to MSSQL our solutions &#8211; Continued</title>
		<link>http://www.php-trivandrum.org/code-snippets/migration-from-mysql-to-mssql-our-solutions-continued/</link>
		<comments>http://www.php-trivandrum.org/code-snippets/migration-from-mysql-to-mssql-our-solutions-continued/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 18:45:15 +0000</pubDate>
		<dc:creator>jijutm</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[General Articles]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://www.php-trivandrum.org/?p=967</guid>
		<description><![CDATA[In the previous post, I had specified that a code analysis would be presented later on, which is happening now. Though I am not permitted to abstract the whole database abstraction, which would otherwise divulge the core business logic of the system too, I do expect that the following would be enough to guide a [...]]]></description>
		<wfw:commentRss>http://www.php-trivandrum.org/code-snippets/migration-from-mysql-to-mssql-our-solutions-continued/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Migration from MySQL to MSSQL our solutions</title>
		<link>http://www.php-trivandrum.org/general-articles/migration-from-mysql-to-mssql-our-solutions/</link>
		<comments>http://www.php-trivandrum.org/general-articles/migration-from-mysql-to-mssql-our-solutions/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 03:17:15 +0000</pubDate>
		<dc:creator>jijutm</dc:creator>
				<category><![CDATA[General Articles]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://www.php-trivandrum.org/general-articles/migration-from-mysql-to-mssql-our-solutions/</guid>
		<description><![CDATA[Last post I did had all of my feelings, and despair, and now I am sure those were out of sheer negligence and mostly because I was unaware of the MS SQL product. Though I still do not agree with certain things like the row_count workaround for the limit feature, and escaping of quotes. But [...]]]></description>
		<wfw:commentRss>http://www.php-trivandrum.org/general-articles/migration-from-mysql-to-mssql-our-solutions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Porting application from MySQL to MSSQL</title>
		<link>http://www.php-trivandrum.org/code-snippets/porting-application-from-mysql-to-mssql/</link>
		<comments>http://www.php-trivandrum.org/code-snippets/porting-application-from-mysql-to-mssql/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 18:05:00 +0000</pubDate>
		<dc:creator>jijutm</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.php-trivandrum.org/code-snippets/porting-application-from-mysql-to-mssql/</guid>
		<description><![CDATA[At first I thought it should be a challenge, though I did not expect it to be too tough, since we were already using a custom db wrapper. Well it turned out to be well too heavy a nightmare. And there was situations where I even considered retiring from life.  I pity those who [...]]]></description>
		<wfw:commentRss>http://www.php-trivandrum.org/code-snippets/porting-application-from-mysql-to-mssql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert MySQL Database to SQLite3 Database</title>
		<link>http://www.php-trivandrum.org/code-snippets/convert-mysql-database-to-sqlite3-database/</link>
		<comments>http://www.php-trivandrum.org/code-snippets/convert-mysql-database-to-sqlite3-database/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 02:23:20 +0000</pubDate>
		<dc:creator>jijutm</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[SQLite3]]></category>

		<guid isPermaLink="false">http://www.php-trivandrum.org/?p=959</guid>
		<description><![CDATA[For a cd based time limited working copy, of one of our products, I decided to port our mysql application to sqlite3. Since we had about 70 tables, and all with optimized indexes, and about 24 user defined function 3 triggers and 12 procedures, normally anyone would have thought of simply getting along with the [...]]]></description>
		<wfw:commentRss>http://www.php-trivandrum.org/code-snippets/convert-mysql-database-to-sqlite3-database/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
