Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Table Duplication, How to do it with phpMyadmin
sader
post Aug 1 2005, 10:13 PM
Post #1


Member [Level 2]
*****

Group: Members
Posts: 86
Joined: 18-July 05
From: Lithuania
Member No.: 9,570



So how can I dublicate table to the same database
using phpMyadmin?
I realy do not want do the almost the same table specially
then table has many colums.

Or maybe it's inposible huh.gif (actualy I don't think so)
Go to the top of the page
 
+Quote Post
Klass
post Aug 1 2005, 10:27 PM
Post #2


Advanced Member
*******

Group: Members
Posts: 147
Joined: 2-June 05
From: Klass-World
Member No.: 7,802



u can't have 2 tables with the same name in the same db.

Not sure what your trying to do.

Could you explain it a little clearer?
Go to the top of the page
 
+Quote Post
Saint_Michael
post Aug 1 2005, 10:50 PM
Post #3


$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************

Group: [HOSTED]
Posts: 6,444
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew



you can't its that simple, because all you will be doing in overriding the orignal table so just a create a new table to solve your problem.
Go to the top of the page
 
+Quote Post
Hamtaro
post Aug 2 2005, 02:37 AM
Post #4


Super Member
*********

Group: Members
Posts: 372
Joined: 14-October 04
Member No.: 1,736



Yes you can. First, you select the database that the table is in, then click on the table that you want to copy (you can go to Browse, Structure, or just about any of the others), then click on Operations toward the top. Once you click on it, under Copy Table to, select the database that you want it to be copied to, then type in the table name that the data will be copied to. Once you enter that, if you're wanting to just copy the structure (the column names) select Structure Only. If you want the structure and the data, select Structure and Data, and if you just want the data, select Data Only. If you have an auto incrementing column, you can select Add AUTO_INCREMENT value, then click Go. The data should now be copied to the database and table that you selected. I hope that helped.
Go to the top of the page
 
+Quote Post
sader
post Aug 2 2005, 04:52 AM
Post #5


Member [Level 2]
*****

Group: Members
Posts: 86
Joined: 18-July 05
From: Lithuania
Member No.: 9,570



QUOTE(Hamtaro @ Aug 2 2005, 04:37 AM)
Yes you can.  First, you select the database that the table is in, then click on the table that you want to copy (you can go to Browse, Structure, or just about any of the others), then click on Operations toward the top.  Once you click on it, under Copy Table to, select the database that you want it to be copied to, then type in the table name that the data will be copied to.  Once you enter that, if you're wanting to just copy the structure (the column names) select Structure Only.  If you want the structure and the data, select Structure and Data, and if you just want the data, select Data Only.  If you have an auto incrementing column, you can select Add AUTO_INCREMENT value, then click Go.  The data should now be copied to the database and table that you selected.  I hope that helped.
*



Thanx Hamatro it's exactly what I was asking for laugh.gif
Thank you for very clear explanation.

Trap17 is the first host where I started use ppMyadmin so thats wy I have
problem when I need do more specific operations with databases unsure.gif

P.S.
Klass & Saint_Michael sorry for my unclear question, but I know that you
CAN'T have the same file with the same name in the same place (same table in the same database in may case).
Go to the top of the page
 
+Quote Post
iGuest
post Mar 27 2008, 03:38 PM
Post #6


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



Thanks for the MySql info!
Table Dublication

Replying to Hamtaro
Hi, I was surfing looking for an easy way to copy tables because I have 18 small tables that only vary by name (used by different people). Your explanation save me a lot of time. Thanks. Tiki

-reply by Tiki
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Transfer Databases Using Phpmyadmin(4)
  2. Databases Gone And Denied From Phpmyadmin(2)
  3. Installing Apache, Mysql, Phpmyadmin Locally(5)
  4. I Can Not Create Mysql Databases In Control Panel Using Phpmyadmin(3)
  5. Still Can't Create Databases In Phpmyadmin(8)
  6. Can't Access Phpmyadmin(2)
  7. Changes In Phpmyadmin(0)
  8. Phpmyadmin Error(4)
  9. Phpmyadmin Error [resolved](7)
  10. Phpmyadmin(7)
  11. Phpmyadmin Problem [resolved](2)
  12. Is The Database System Gone Again? [resolved](12)
  13. Cms & Phpmyadmin(3)


 



- Lo-Fi Version Time is now: 6th September 2008 - 05:35 AM