<?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: MySQL Copy Table from One Database to Another</title>
	<atom:link href="http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/</link>
	<description>Freelance PHP Ecommerce and SEO Developer in the UK</description>
	<lastBuildDate>Tue, 02 Mar 2010 10:30:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/comment-page-1/#comment-2245</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 11 Feb 2010 16:49:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/mysql/mysql-copy-table-from-one-database-to-another/#comment-2245</guid>
		<description>Ah yeah well spotted James :)</description>
		<content:encoded><![CDATA[<p>Ah yeah well spotted James <img src='http://www.edmondscommerce.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Campanella</title>
		<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/comment-page-1/#comment-2244</link>
		<dc:creator>James Campanella</dc:creator>
		<pubDate>Thu, 11 Feb 2010 16:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/mysql/mysql-copy-table-from-one-database-to-another/#comment-2244</guid>
		<description>To tanvi, I don&#039;t know if you&#039;ve solved your problem yet or not, but it appears to me that the problem is in your back tick quotes.  If you are specifying a database.table the proper backticks should be `database`.`table` for it to work in phpMyAdmin.  It is not a bad idea to use quotes in the event you have a database name or field that ends up being a MySQL keyword or SQL command.  Hope this helps.</description>
		<content:encoded><![CDATA[<p>To tanvi, I don&#8217;t know if you&#8217;ve solved your problem yet or not, but it appears to me that the problem is in your back tick quotes.  If you are specifying a database.table the proper backticks should be `database`.`table` for it to work in phpMyAdmin.  It is not a bad idea to use quotes in the event you have a database name or field that ends up being a MySQL keyword or SQL command.  Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Childs</title>
		<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/comment-page-1/#comment-901</link>
		<dc:creator>Steve Childs</dc:creator>
		<pubDate>Mon, 02 Feb 2009 00:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/mysql/mysql-copy-table-from-one-database-to-another/#comment-901</guid>
		<description>Make sure that the user you are running the query as has sufficient rights for both the source and destination databases...

Also make sure you&#039;re using the right quotes - you shouldn&#039;t need to use quotes at all in those queries you posted, try it without.

The queries as posted here do work, I&#039;ve just done them on two of my tables. The problem lies in your SQL server somewhere, my guess is one of the above reasons.</description>
		<content:encoded><![CDATA[<p>Make sure that the user you are running the query as has sufficient rights for both the source and destination databases&#8230;</p>
<p>Also make sure you&#8217;re using the right quotes &#8211; you shouldn&#8217;t need to use quotes at all in those queries you posted, try it without.</p>
<p>The queries as posted here do work, I&#8217;ve just done them on two of my tables. The problem lies in your SQL server somewhere, my guess is one of the above reasons.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/comment-page-1/#comment-891</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 31 Jan 2009 10:54:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/mysql/mysql-copy-table-from-one-database-to-another/#comment-891</guid>
		<description>are they MyISAM tables?</description>
		<content:encoded><![CDATA[<p>are they MyISAM tables?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanvi</title>
		<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/comment-page-1/#comment-889</link>
		<dc:creator>tanvi</dc:creator>
		<pubDate>Sat, 31 Jan 2009 05:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/mysql/mysql-copy-table-from-one-database-to-another/#comment-889</guid>
		<description>Please help me as soon as possible...
Its very urgent..</description>
		<content:encoded><![CDATA[<p>Please help me as soon as possible&#8230;<br />
Its very urgent..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanvi</title>
		<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/comment-page-1/#comment-888</link>
		<dc:creator>tanvi</dc:creator>
		<pubDate>Fri, 30 Jan 2009 13:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/mysql/mysql-copy-table-from-one-database-to-another/#comment-888</guid>
		<description>hai,i tried your code..but it is not working 

I tried with this in phpmyadmin:

1st db name :employees1  ---&gt;table name:hai
2nd db name:employees ---&gt;table name:hai

My code is:
      DROP TABLE IF EXISTS `employees1.hai`;
 CREATE TABLE `employees1.hai` SELECT * FROM `employees.hai`;

but it shows error as in phpmyadmin.:


 MySQL said: Documentation
#1103 - Incorrect table name &#039;employees1.hai&#039; ..



Please help me as early as possible...</description>
		<content:encoded><![CDATA[<p>hai,i tried your code..but it is not working </p>
<p>I tried with this in phpmyadmin:</p>
<p>1st db name :employees1  &#8212;&gt;table name:hai<br />
2nd db name:employees &#8212;&gt;table name:hai</p>
<p>My code is:<br />
      DROP TABLE IF EXISTS `employees1.hai`;<br />
 CREATE TABLE `employees1.hai` SELECT * FROM `employees.hai`;</p>
<p>but it shows error as in phpmyadmin.:</p>
<p> MySQL said: Documentation<br />
#1103 &#8211; Incorrect table name &#8216;employees1.hai&#8217; ..</p>
<p>Please help me as early as possible&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/comment-page-1/#comment-864</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 19 Jan 2009 09:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/mysql/mysql-copy-table-from-one-database-to-another/#comment-864</guid>
		<description>the most usually way would be to dump the table data to an SQL file (export in phpMyAdmin)

then save this file somewhere, upload it to the other machine and then import it.

there are other ways involving getting the machines talkign to each other directly, but for most purposes the dump method is going to be the easiest and therefore best.</description>
		<content:encoded><![CDATA[<p>the most usually way would be to dump the table data to an SQL file (export in phpMyAdmin)</p>
<p>then save this file somewhere, upload it to the other machine and then import it.</p>
<p>there are other ways involving getting the machines talkign to each other directly, but for most purposes the dump method is going to be the easiest and therefore best.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ZIA</title>
		<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/comment-page-1/#comment-862</link>
		<dc:creator>ZIA</dc:creator>
		<pubDate>Mon, 19 Jan 2009 07:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/mysql/mysql-copy-table-from-one-database-to-another/#comment-862</guid>
		<description>Its so nice. Thaks for your conversations. But i need one more thing. how can i transfer a table data from one machine to another in MySQL?.</description>
		<content:encoded><![CDATA[<p>Its so nice. Thaks for your conversations. But i need one more thing. how can i transfer a table data from one machine to another in MySQL?.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/comment-page-1/#comment-853</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 13 Jan 2009 15:38:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/mysql/mysql-copy-table-from-one-database-to-another/#comment-853</guid>
		<description>can you tell us the exact sql you are pasting into the sql box on phpmyadmin?</description>
		<content:encoded><![CDATA[<p>can you tell us the exact sql you are pasting into the sql box on phpmyadmin?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: troy</title>
		<link>http://www.edmondscommerce.co.uk/mysql/mysql-copy-table-from-one-database-to-another/comment-page-1/#comment-852</link>
		<dc:creator>troy</dc:creator>
		<pubDate>Tue, 13 Jan 2009 14:52:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/mysql/mysql-copy-table-from-one-database-to-another/#comment-852</guid>
		<description>Hey Guys,

Im running the mysql 5.1.2 &amp; myphpadmin 3.1 and this doesnt seem to work.

it tries to copy the table to the same database.  Any help please?</description>
		<content:encoded><![CDATA[<p>Hey Guys,</p>
<p>Im running the mysql 5.1.2 &amp; myphpadmin 3.1 and this doesnt seem to work.</p>
<p>it tries to copy the table to the same database.  Any help please?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
