<?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: Backup and Restore MySQL Database Using mysqldump</title>
	<atom:link href="http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/</link>
	<description>Guides, HowTos and Tips for Technology Geeks</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:04:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Sathishkumar</title>
		<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/comment-page-1/#comment-194006</link>
		<dc:creator>Sathishkumar</dc:creator>
		<pubDate>Wed, 08 Feb 2012 11:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=184#comment-194006</guid>
		<description>Hi Ramesh,
i am working CentOS 4.1 with help of virtual box. installed mysql5.0 and i am installed groupware application , now i am backup the Application Database. 
i am import my db in mysql following this query,
 /usr/local/req/mysql-5.0/bin/mysql --defaults-file=/usr/local/req/mysql-5.0/etc/my.ini -u cbroot -p dbname.

Now i am execute mysqldump command like following way,
mysqldump -u cbroot -p dbname &gt; filename.sql
asking password,
after giving password,
showing error message like,
mysqldump: Got error: 1045: Access denied for user &#039;cbroot&#039;@&#039;localhost&#039; (using password: YES) when trying to connect.
I am confused.
I give a user privileges for cbroot user,
+---------------------------------------------------------------------------------------------------------------+
&#124; Grants for cbroot@localhost                                                                                   &#124;
+---------------------------------------------------------------------------------------------------------------+
&#124; GRANT USAGE ON *.* TO &#039;cbroot&#039;@&#039;localhost&#039; IDENTIFIED BY PASSWORD &#039;*AFACA011891A17C03C93DA27B3D157E7A4964A22&#039; &#124;
&#124; GRANT SELECT, LOCK TABLES ON `cb_grant`.* TO &#039;cbroot&#039;@&#039;localhost&#039;                                             &#124;
+-------------------------------------------------------------------------------------------------------+
2 rows in set (0.00 sec)

How can i solve this problem?</description>
		<content:encoded><![CDATA[<p>Hi Ramesh,<br />
i am working CentOS 4.1 with help of virtual box. installed mysql5.0 and i am installed groupware application , now i am backup the Application Database.<br />
i am import my db in mysql following this query,<br />
 /usr/local/req/mysql-5.0/bin/mysql &#8211;defaults-file=/usr/local/req/mysql-5.0/etc/my.ini -u cbroot -p dbname.</p>
<p>Now i am execute mysqldump command like following way,<br />
mysqldump -u cbroot -p dbname &gt; filename.sql<br />
asking password,<br />
after giving password,<br />
showing error message like,<br />
mysqldump: Got error: 1045: Access denied for user &#8216;cbroot&#8217;@'localhost&#8217; (using password: YES) when trying to connect.<br />
I am confused.<br />
I give a user privileges for cbroot user,<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
| Grants for cbroot@localhost                                                                                   |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
| GRANT USAGE ON *.* TO &#8216;cbroot&#8217;@'localhost&#8217; IDENTIFIED BY PASSWORD &#8216;*AFACA011891A17C03C93DA27B3D157E7A4964A22&#8242; |<br />
| GRANT SELECT, LOCK TABLES ON `cb_grant`.* TO &#8216;cbroot&#8217;@'localhost&#8217;                                             |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
2 rows in set (0.00 sec)</p>
<p>How can i solve this problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chaitanya</title>
		<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/comment-page-1/#comment-185714</link>
		<dc:creator>Chaitanya</dc:creator>
		<pubDate>Fri, 27 Jan 2012 18:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=184#comment-185714</guid>
		<description>How to restore *.db file.

I know how to restore the *.sql dump file, but not aware of this one.
please help..</description>
		<content:encoded><![CDATA[<p>How to restore *.db file.</p>
<p>I know how to restore the *.sql dump file, but not aware of this one.<br />
please help..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael</title>
		<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/comment-page-1/#comment-124710</link>
		<dc:creator>Raphael</dc:creator>
		<pubDate>Mon, 29 Aug 2011 02:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=184#comment-124710</guid>
		<description>Hi,

What if the dump file outputs an big chunk of XML data of the entire database, how can I restore it back the entire schema + data back into the database?  I have only manage to find out information on how to import back when the dump file is *.sql, not sure how can I import back if the output source file is a .xml.

Any help is appreciated.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>What if the dump file outputs an big chunk of XML data of the entire database, how can I restore it back the entire schema + data back into the database?  I have only manage to find out information on how to import back when the dump file is *.sql, not sure how can I import back if the output source file is a .xml.</p>
<p>Any help is appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ubu_fan</title>
		<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/comment-page-1/#comment-121700</link>
		<dc:creator>ubu_fan</dc:creator>
		<pubDate>Thu, 11 Aug 2011 17:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=184#comment-121700</guid>
		<description>Very Informative . .
Thanks Much</description>
		<content:encoded><![CDATA[<p>Very Informative . .<br />
Thanks Much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sachith</title>
		<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/comment-page-1/#comment-117676</link>
		<dc:creator>Sachith</dc:creator>
		<pubDate>Fri, 15 Jul 2011 04:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=184#comment-117676</guid>
		<description>Thank you ! This has been very helpful for me!!</description>
		<content:encoded><![CDATA[<p>Thank you ! This has been very helpful for me!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vick</title>
		<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/comment-page-1/#comment-110843</link>
		<dc:creator>Vick</dc:creator>
		<pubDate>Sun, 12 Jun 2011 02:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=184#comment-110843</guid>
		<description>Thanks for this!</description>
		<content:encoded><![CDATA[<p>Thanks for this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mahendra</title>
		<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/comment-page-1/#comment-104858</link>
		<dc:creator>mahendra</dc:creator>
		<pubDate>Tue, 24 May 2011 05:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=184#comment-104858</guid>
		<description>Its a good tutorial. I really like this.</description>
		<content:encoded><![CDATA[<p>Its a good tutorial. I really like this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naz</title>
		<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/comment-page-1/#comment-96066</link>
		<dc:creator>Naz</dc:creator>
		<pubDate>Mon, 04 Apr 2011 06:11:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=184#comment-96066</guid>
		<description>Very useful reference. Thanks!</description>
		<content:encoded><![CDATA[<p>Very useful reference. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Girish Mahajan</title>
		<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/comment-page-1/#comment-92858</link>
		<dc:creator>Girish Mahajan</dc:creator>
		<pubDate>Thu, 17 Mar 2011 06:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=184#comment-92858</guid>
		<description>Ray / Bret ==&gt;
Two solutions for your problem : 
1. Prior to installation of MySQL, set timezone from &quot;setup&quot; command in linux and proceed with mysql installation, Or, Simply , You can edit the backup dump and remove the timestamp entry to ignore such kindof error.


Manoj ==&gt; Its important that you dont need to stop the mysql when you are about to take the backup of the database, if you do so, you will get the error &quot;Failed to locate MySQL socket at port XXX&quot;, Also, what does mysqldump will do is to copy the scattered control file+data files data in to sql statement and redirecting to the .sql files thats it, so when  if your service is down, you dont have the data files loaded in memory to read upon ...!!!


BINU ==&gt; To restore content to new database, refer comment #19 and #20 of this thread.


Thank you,
Regards,
Girish Mahajan</description>
		<content:encoded><![CDATA[<p>Ray / Bret ==&gt;<br />
Two solutions for your problem :<br />
1. Prior to installation of MySQL, set timezone from &#8220;setup&#8221; command in linux and proceed with mysql installation, Or, Simply , You can edit the backup dump and remove the timestamp entry to ignore such kindof error.</p>
<p>Manoj ==&gt; Its important that you dont need to stop the mysql when you are about to take the backup of the database, if you do so, you will get the error &#8220;Failed to locate MySQL socket at port XXX&#8221;, Also, what does mysqldump will do is to copy the scattered control file+data files data in to sql statement and redirecting to the .sql files thats it, so when  if your service is down, you dont have the data files loaded in memory to read upon &#8230;!!!</p>
<p>BINU ==&gt; To restore content to new database, refer comment #19 and #20 of this thread.</p>
<p>Thank you,<br />
Regards,<br />
Girish Mahajan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: binu</title>
		<link>http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/comment-page-1/#comment-92697</link>
		<dc:creator>binu</dc:creator>
		<pubDate>Wed, 16 Mar 2011 10:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=184#comment-92697</guid>
		<description>how can i restore my mysql tables 
i use    mysql -u root -p smsapp [table1 2 3] for dump tables
how can i restore it to a new database 
plz help me</description>
		<content:encoded><![CDATA[<p>how can i restore my mysql tables<br />
i use    mysql -u root -p smsapp [table1 2 3] for dump tables<br />
how can i restore it to a new database<br />
plz help me</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.thegeekstuff.com

Served from: www.thegeekstuff.com @ 2012-02-09 13:23:57 -->
