<?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>FanaticZine &#187; MySQL</title>
	<atom:link href="http://www.fanaticzine.com/index.php/category/web_desktop_application_developement/mysql-databse-issuies-solutionsproblems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fanaticzine.com</link>
	<description>Creativity Simplified</description>
	<lastBuildDate>Wed, 09 Mar 2011 05:52:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Dump MySQL database with a row limit for tables</title>
		<link>http://www.fanaticzine.com/index.php/2010/09/dump-mysql-database-with-a-row-limit-for-tables/</link>
		<comments>http://www.fanaticzine.com/index.php/2010/09/dump-mysql-database-with-a-row-limit-for-tables/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 05:28:51 +0000</pubDate>
		<dc:creator>z7oofy</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Limit rows]]></category>
		<category><![CDATA[MySSQL database backup]]></category>

		<guid isPermaLink="false">http://www.fanaticzine.com/?p=333</guid>
		<description><![CDATA[Hey  Guys, Have you ever wondered how to get a copy of your production database, may be to setup your local development environment to look like your production ? biggest problem that you will face is deploying your database to  reflect your production database, because sometimes it might want to downloading Gigabytes to download a copy of your production database. [...]]]></description>
			<content:encoded><![CDATA[<p>Hey  Guys, Have you ever wondered how to get a copy of your production database, may be to setup your local development environment to look like your production ? biggest problem that you will face is deploying your database to  reflect your production database, because sometimes it might want to downloading Gigabytes to download a copy of your production database. The solution is for this is simple get a minimized copy or a version of the database where it gives you all the tables with a limited number of rows in each of them. sounds good ?</p>
<p>Okay then here is the trick..</p>
<p>We all know in MySQL there is an command line tool <strong>mysqldump </strong>where we can provide a few parameters into it and get a copy of any database. what we have to do is give it a little more parameters, then it will limit the number of rows copied from each table into your dump. so here is the command..</p>
<blockquote><p>mysqldump  -u  {Username}  -p       &#8211;opt  &#8211;where=&#8221;true LIMIT 500&#8243; {databasename} &gt; {dumpfilename.sql}</p></blockquote>
<p>once you press enter, it will ask you for the database password in the next line, provide the password.. you are done <img src='http://www.fanaticzine.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Please note that <strong>mysqldump</strong> is located in the <strong>/bin</strong> folder of your mysql installation.</p>
<p><a href="http://www.fanaticzine.com/wp-content/uploads/2010/09/mysqldump.jpg"><img class="alignnone size-full wp-image-335" title="mysqldump" src="http://www.fanaticzine.com/wp-content/uploads/2010/09/mysqldump.jpg" alt="" width="589" height="410" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fanaticzine.com/index.php/2010/09/dump-mysql-database-with-a-row-limit-for-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t connect to MySQL server on (10060)</title>
		<link>http://www.fanaticzine.com/index.php/2009/11/cant-connect-to-mysql-server-on-10060/</link>
		<comments>http://www.fanaticzine.com/index.php/2009/11/cant-connect-to-mysql-server-on-10060/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 05:43:20 +0000</pubDate>
		<dc:creator>z7oofy</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL Error 10060]]></category>
		<category><![CDATA[MySQL server Remote connection]]></category>

		<guid isPermaLink="false">http://www.fanaticzine.com/?p=227</guid>
		<description><![CDATA[If you are trying connect to a remote MySQL server and if your MySQL client giving you the error message Can&#8217;t connect to MySQL server on &#8216;< Host name or IP address >&#8216; (10060) Check whether your Public IP is allowed to access server,whether your IP is in the Allowed host list.]]></description>
			<content:encoded><![CDATA[<p>If you are trying connect to a remote MySQL server and if your MySQL client giving you the error message </p>
<blockquote><p>Can&#8217;t connect to MySQL server on &#8216;< Host name or IP address >&#8216; (10060) </p></blockquote>
<p>Check whether your Public IP is allowed to access server,whether your IP is in the Allowed host list.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fanaticzine.com/index.php/2009/11/cant-connect-to-mysql-server-on-10060/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restore MySQL Database Backup using command line</title>
		<link>http://www.fanaticzine.com/index.php/2009/07/restore-mysql-database-backup-using-command-line/</link>
		<comments>http://www.fanaticzine.com/index.php/2009/07/restore-mysql-database-backup-using-command-line/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 04:35:15 +0000</pubDate>
		<dc:creator>z7oofy</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Restore Backup file]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.fanaticzine.com/?p=192</guid>
		<description><![CDATA[If you are trying to restore a large database backup back to  your MySQL Server, You know that phpMyAdmin is NOT the best solution for the task, beacause of it&#8217;s execution limitaion settings it will reject your file being executed. So one way to archive this is to use the mysql command prompt interface. the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are trying to restore a large database backup back to  your MySQL Server, You know that phpMyAdmin is NOT the best solution for the task, beacause of it&#8217;s execution limitaion settings it will reject your file being executed. So one way to archive this is to use the mysql command prompt interface. the syntaxt to back up your database unsing command links is.</p>
<p><strong>mysql -u {UserName} -p {TargetDatabase} &lt; {SourceDumpFile}</strong></p>
<p>{UserName} = Your Database username</p>
<p>{TargetDatabase}= Your Target Databse</p>
<p>{SourceDumpFile}=  Your  SQL Dump File</p>
<p>once you run the above line correctly. you should be prompt for a password, Enter your database password and continue. (the restoring time  depends on the size of your database, so be patient and a grab a coffee if it&#8217;s so large.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fanaticzine.com/index.php/2009/07/restore-mysql-database-backup-using-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ERROR 2006 (HY000) at line 447: MySQL server has gone away</title>
		<link>http://www.fanaticzine.com/index.php/2009/07/error-2006-hy000-at-line-447-mysql-server-has-gone-away/</link>
		<comments>http://www.fanaticzine.com/index.php/2009/07/error-2006-hy000-at-line-447-mysql-server-has-gone-away/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 04:15:01 +0000</pubDate>
		<dc:creator>z7oofy</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[ERROR 2006]]></category>
		<category><![CDATA[MySQL server has gone away]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://www.fanaticzine.com/?p=189</guid>
		<description><![CDATA[If you are getting the error ERROR 2006 (HY000) at line 447: MySQL server has gone away when you are trying to restore any MySQL backup on your command prompt. Try following Open the my.ini in C:\Windows\ or mysql/bin/my.cnf on XAMPP installation and modify the max_allowed_packet to  a higher value. (Probably  higher than your backup [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting the error <strong>ERROR 2006 (HY000) at line 447: MySQL server has gone away</strong> when you are trying to restore any MySQL backup on your command prompt. Try following</p>
<p>Open the <strong>my.ini</strong> in C:\Windows\ or<strong> mysql/bin/my.cnf </strong> on XAMPP installation and modify the <strong>max_allowed_packet </strong>to  a higher value. (Probably  higher than your backup file size)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fanaticzine.com/index.php/2009/07/error-2006-hy000-at-line-447-mysql-server-has-gone-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TINY INT with LENGTH 1 holds only one BIT</title>
		<link>http://www.fanaticzine.com/index.php/2009/01/tiny-int-with-length-1-holds-only-one-bit/</link>
		<comments>http://www.fanaticzine.com/index.php/2009/01/tiny-int-with-length-1-holds-only-one-bit/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 08:32:53 +0000</pubDate>
		<dc:creator>z7oofy</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.fanaticzine.com/?p=70</guid>
		<description><![CDATA[Hi, Just wanted to warn about the TINYINT data type on MySQL, just in case if you use TINYINT type with a data length 1, Remember that filed can only hold a one BIT means, the field only can hold 1 OR 0. Cheers.]]></description>
			<content:encoded><![CDATA[<p>Hi, Just wanted to warn about the TINYINT data type on MySQL, just in case if you use TINYINT type with a data length 1, Remember that filed can only hold a one BIT means, the field only can hold 1 OR 0. <img src='http://www.fanaticzine.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fanaticzine.com/index.php/2009/01/tiny-int-with-length-1-holds-only-one-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

