<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: how to back up databases using phpMyAdmin</title>
	<atom:link href="http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin/feed" rel="self" type="application/rss+xml" />
	<link>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin</link>
	<description>this is the personal blog for Andrew Mallis</description>
	<lastBuildDate>Sat, 07 Jan 2012 19:39:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Andrew</title>
		<link>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin/comment-page-1#comment-15155</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 30 Oct 2009 17:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=234#comment-15155</guid>
		<description>Aljuk,

It is possible that you do not have enough memory allocated to MySQL to complete the dump.
Try editing the MySQL my.cnf configuration file for MAMP. You can do this from the file menu in the application.
These are the values that I use:

&lt;code&gt;[mysqld]
#port		= 9999
socket		= /Applications/MAMP/tmp/mysql/mysql.sock
skip-locking
key_buffer = 24M #16M
max_allowed_packet = 48M #1M
table_cache = 256 #64
sort_buffer_size = 2048K #512K
net_buffer_length = 32K #8K
read_buffer_size = 1024K #256K
read_rnd_buffer_size = 2880K #512K
myisam_sort_buffer_size = 72M #8M&lt;/code&gt;

and later:

&lt;code&gt;[mysqldump]
quick
max_allowed_packet = 128M #16M&lt;/code&gt;

If that doesn&#039;t work, increase your PHP memory limit. It is possible that the dump is timing out. These are the values I use in php.ini for php 5:

&lt;code&gt;;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 600 ;30     ; Maximum execution time of each script, in seconds
max_input_time = 300 ;60	; Maximum amount of time each script may spend parsing request data
memory_limit = 348M  ;8M      ; Maximum amount of memory a script may consume (8MB)
&lt;/code&gt;

don&#039;t forget to restart MAMP after you&#039;ve edited the document.</description>
		<content:encoded><![CDATA[<p>Aljuk,</p>
<p>It is possible that you do not have enough memory allocated to MySQL to complete the dump.<br />
Try editing the MySQL my.cnf configuration file for MAMP. You can do this from the file menu in the application.<br />
These are the values that I use:</p>
<p><code>[mysqld]<br />
#port		= 9999<br />
socket		= /Applications/MAMP/tmp/mysql/mysql.sock<br />
skip-locking<br />
key_buffer = 24M #16M<br />
max_allowed_packet = 48M #1M<br />
table_cache = 256 #64<br />
sort_buffer_size = 2048K #512K<br />
net_buffer_length = 32K #8K<br />
read_buffer_size = 1024K #256K<br />
read_rnd_buffer_size = 2880K #512K<br />
myisam_sort_buffer_size = 72M #8M</code></p>
<p>and later:</p>
<p><code>[mysqldump]<br />
quick<br />
max_allowed_packet = 128M #16M</code></p>
<p>If that doesn&#8217;t work, increase your PHP memory limit. It is possible that the dump is timing out. These are the values I use in php.ini for php 5:</p>
<p><code>;;;;;;;;;;;;;;;;;;;<br />
; Resource Limits ;<br />
;;;;;;;;;;;;;;;;;;;<br />
max_execution_time = 600 ;30     ; Maximum execution time of each script, in seconds<br />
max_input_time = 300 ;60	; Maximum amount of time each script may spend parsing request data<br />
memory_limit = 348M  ;8M      ; Maximum amount of memory a script may consume (8MB)<br />
</code></p>
<p>don&#8217;t forget to restart MAMP after you&#8217;ve edited the document.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aljuk</title>
		<link>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin/comment-page-1#comment-15153</link>
		<dc:creator>aljuk</dc:creator>
		<pubDate>Fri, 30 Oct 2009 16:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=234#comment-15153</guid>
		<description>My own experience with MAMP and phpmyadmin with regard to saving compressed database files is that all types of compression work fine when restoring an already existent database, but when I&#039;ve migrated to a production server (ie. a new database instance) only a raw sql file or a zipped file work.

I tested that back on my MAMP setup, dropping and recreating a new database for each file type, and sure enough only the raw sql file, and the zipped file would result in the original database there too. In both instances the other compression types returned databases with only a small number of the original tables (the first 16 or so).

Really nice tip about the local phpmyadmin url!</description>
		<content:encoded><![CDATA[<p>My own experience with MAMP and phpmyadmin with regard to saving compressed database files is that all types of compression work fine when restoring an already existent database, but when I&#8217;ve migrated to a production server (ie. a new database instance) only a raw sql file or a zipped file work.</p>
<p>I tested that back on my MAMP setup, dropping and recreating a new database for each file type, and sure enough only the raw sql file, and the zipped file would result in the original database there too. In both instances the other compression types returned databases with only a small number of the original tables (the first 16 or so).</p>
<p>Really nice tip about the local phpmyadmin url!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: โปรโมทเว็บฟรี</title>
		<link>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin/comment-page-1#comment-14480</link>
		<dc:creator>โปรโมทเว็บฟรี</dc:creator>
		<pubDate>Sun, 20 Sep 2009 07:55:05 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=234#comment-14480</guid>
		<description>Thanks very simple.</description>
		<content:encoded><![CDATA[<p>Thanks very simple.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web tyrant</title>
		<link>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin/comment-page-1#comment-10796</link>
		<dc:creator>Web tyrant</dc:creator>
		<pubDate>Mon, 15 Jun 2009 18:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=234#comment-10796</guid>
		<description>very useful.. get more leads.. but make sure you back up your site!!!</description>
		<content:encoded><![CDATA[<p>very useful.. get more leads.. but make sure you back up your site!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Professional Drupal Themes</title>
		<link>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin/comment-page-1#comment-10795</link>
		<dc:creator>Professional Drupal Themes</dc:creator>
		<pubDate>Mon, 15 Jun 2009 18:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=234#comment-10795</guid>
		<description>thanks, this was really helpful - we&#039;ve done lots of drupal themes and many clients ask how to back up their databases..</description>
		<content:encoded><![CDATA[<p>thanks, this was really helpful &#8211; we&#8217;ve done lots of drupal themes and many clients ask how to back up their databases..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

