<?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 restore MySQL database from sql dump file?</title> <atom:link href="http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/feed/" rel="self" type="application/rss+xml" /><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/</link> <description>The place for computer tips and tricks! microsoft windows, open source, database, programming, freeware and etc</description> <lastBuildDate>Sun, 14 Mar 2010 07:29:47 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: makandal</title><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/comment-page-1/#comment-153240</link> <dc:creator>makandal</dc:creator> <pubDate>Sat, 06 Feb 2010 03:38:27 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/31/how-to-restore-mysql-database-from-a-dump-file/#comment-153240</guid> <description>very very usefull.
i am using mysql on mc os snow leopard. going to try restore a database.
i am not very comfortable with unix. So i&#039;m going to try!</description> <content:encoded><![CDATA[<p>very very usefull.<br
/> i am using mysql on mc os snow leopard. going to try restore a database.<br
/> i am not very comfortable with unix. So i&#8217;m going to try!</p> ]]></content:encoded> </item> <item><title>By: Amyou</title><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/comment-page-1/#comment-139611</link> <dc:creator>Amyou</dc:creator> <pubDate>Thu, 03 Dec 2009 09:30:28 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/31/how-to-restore-mysql-database-from-a-dump-file/#comment-139611</guid> <description>In the save.sql file you will find a line like &quot;Host: localhost    Database: old&quot;. Change the database name to &quot;qwerty&quot; instead of &quot;old&quot;. It will work.</description> <content:encoded><![CDATA[<p>In the save.sql file you will find a line like &#8220;Host: localhost    Database: old&#8221;. Change the database name to &#8220;qwerty&#8221; instead of &#8220;old&#8221;. It will work.</p> ]]></content:encoded> </item> <item><title>By: chua</title><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/comment-page-1/#comment-134822</link> <dc:creator>chua</dc:creator> <pubDate>Mon, 02 Nov 2009 05:08:02 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/31/how-to-restore-mysql-database-from-a-dump-file/#comment-134822</guid> <description>it cant change the name as the db name already specified in the save.sql file. unless u edit the db name from the save.sql file then it will restore the mysql database to a new database name.</description> <content:encoded><![CDATA[<p>it cant change the name as the db name already specified in the save.sql file. unless u edit the db name from the save.sql file then it will restore the mysql database to a new database name.</p> ]]></content:encoded> </item> <item><title>By: Zoli</title><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/comment-page-1/#comment-134015</link> <dc:creator>Zoli</dc:creator> <pubDate>Thu, 29 Oct 2009 09:25:03 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/31/how-to-restore-mysql-database-from-a-dump-file/#comment-134015</guid> <description>Hy,
is there a way to restore a saved database on a diffrent PC using a new name for it? (we use InnoDB)example:
original database name is: old
mysqldump -u -p -Rl old &gt; c:\save.sqlintended new database name: qwerty
mysql -u -p qwerty &lt; c:\save.sqlit will not do what i want, it still restores the db with its original name</description> <content:encoded><![CDATA[<p>Hy,<br
/> is there a way to restore a saved database on a diffrent PC using a new name for it? (we use InnoDB)</p><p>example:<br
/> original database name is: old<br
/> mysqldump -u -p -Rl old &gt; c:\save.sql</p><p>intended new database name: qwerty<br
/> mysql -u -p qwerty &lt; c:\save.sql</p><p>it will not do what i want, it still restores the db with its original name</p> ]]></content:encoded> </item> <item><title>By: Arunabh Das</title><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/comment-page-1/#comment-132843</link> <dc:creator>Arunabh Das</dc:creator> <pubDate>Sun, 18 Oct 2009 06:38:57 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/31/how-to-restore-mysql-database-from-a-dump-file/#comment-132843</guid> <description>Anyone know of a powershell way to do the above? - Arunabh Das</description> <content:encoded><![CDATA[<p>Anyone know of a powershell way to do the above? &#8211; Arunabh Das</p> ]]></content:encoded> </item> <item><title>By: The Edifier</title><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/comment-page-1/#comment-124840</link> <dc:creator>The Edifier</dc:creator> <pubDate>Fri, 21 Aug 2009 13:24:42 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/31/how-to-restore-mysql-database-from-a-dump-file/#comment-124840</guid> <description>Executing the script from within a DOS command window and from within the MYSQL shell .... that is the difference ...The examples given above all are relating to executing the command from within a DOS shell ...C:\mysql -u root -p humandbthen you can execute the program file by using just the file name ... mysql in which case ... the command along with the parameters would look likeC:\wamp\bin\mysql\mysql5.1.30\bin&gt;mysql -u root -p humandb    dbname &lt; D:\sth\human.sql</description> <content:encoded><![CDATA[<p>Executing the script from within a DOS command window and from within the MYSQL shell &#8230;. that is the difference &#8230;</p><p>The examples given above all are relating to executing the command from within a DOS shell &#8230;</p><p>C:\mysql -u root -p humandb</p><p>then you can execute the program file by using just the file name &#8230; mysql in which case &#8230; the command along with the parameters would look like</p><p>C:\wamp\bin\mysql\mysql5.1.30\bin&gt;mysql -u root -p humandb    dbname &lt; D:\sth\human.sql</p> ]]></content:encoded> </item> <item><title>By: mark</title><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/comment-page-1/#comment-115419</link> <dc:creator>mark</dc:creator> <pubDate>Thu, 04 Jun 2009 18:01:12 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/31/how-to-restore-mysql-database-from-a-dump-file/#comment-115419</guid> <description>using vista ultimate x64, i was struggling with importing sql file into my local database. what I eventually figured out is, that you need to be in root directory (c:\) and you can&#039;t be anywhere further (c:\ mysql\bin) ! that at least worked for me.
co in my case command looked like that:
C:\mysql -u root -p humandb &lt; D:\sth\human.sqlhope that helps!</description> <content:encoded><![CDATA[<p>using vista ultimate x64, i was struggling with importing sql file into my local database. what I eventually figured out is, that you need to be in root directory (c:\) and you can&#8217;t be anywhere further (c:\ mysql\bin) ! that at least worked for me.<br
/> co in my case command looked like that:<br
/> C:\mysql -u root -p humandb &lt; D:\sth\human.sql</p><p>hope that helps!</p> ]]></content:encoded> </item> <item><title>By: Dawn</title><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/comment-page-1/#comment-111485</link> <dc:creator>Dawn</dc:creator> <pubDate>Thu, 14 May 2009 03:16:59 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/31/how-to-restore-mysql-database-from-a-dump-file/#comment-111485</guid> <description>Worked for me too! Thanks!To just get one table, not the whole database you just need to add the table after the database name, as described below:mysqldump original_databasename tablename &gt; dumped_table.sqlmysql original_or_new_databasename &lt; dumped_table.sqlThis will create a table and insert any dumped contents from that table into the database.</description> <content:encoded><![CDATA[<p>Worked for me too! Thanks!</p><p>To just get one table, not the whole database you just need to add the table after the database name, as described below:</p><p>mysqldump original_databasename tablename &gt; dumped_table.sql</p><p>mysql original_or_new_databasename &lt; dumped_table.sql</p><p>This will create a table and insert any dumped contents from that table into the database.</p> ]]></content:encoded> </item> <item><title>By: chua</title><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/comment-page-1/#comment-101237</link> <dc:creator>chua</dc:creator> <pubDate>Thu, 02 Apr 2009 08:23:59 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/31/how-to-restore-mysql-database-from-a-dump-file/#comment-101237</guid> <description>Sameer, if you have more than 200MB db,
import it using mysql command
mysql -u #username# -p #database#  abc.sql; before.</description> <content:encoded><![CDATA[<p>Sameer, if you have more than 200MB db,<br
/> import it using mysql command<br
/> mysql -u #username# -p #database#  abc.sql; before.</p> ]]></content:encoded> </item> <item><title>By: Sameer</title><link>http://www.techiecorner.com/31/how-to-restore-mysql-database-from-sql-dump-file/comment-page-1/#comment-100905</link> <dc:creator>Sameer</dc:creator> <pubDate>Wed, 01 Apr 2009 07:00:45 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/31/how-to-restore-mysql-database-from-a-dump-file/#comment-100905</guid> <description>How to modify php.ini to allow to impoert databases of more than 200MB.
any suggestions..what are the differences between
mysqldump -u name -ppass dbname &gt; abc.sql;
and
mysql -u name -ppass dbname &gt; abc.sql;</description> <content:encoded><![CDATA[<p>How to modify php.ini to allow to impoert databases of more than 200MB.<br
/> any suggestions..</p><p>what are the differences between<br
/> mysqldump -u name -ppass dbname &gt; abc.sql;<br
/> and<br
/> mysql -u name -ppass dbname &gt; abc.sql;</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 5/22 queries in 0.157 seconds using disk

Served from: host.wacity.com @ 2010-03-14 15:42:53 -->