contra10 Posted March 11, 2009 Share Posted March 11, 2009 if i wanted to move one table in another db how could i do that Link to comment https://forums.phpfreaks.com/topic/149001-solved-move-tables-in-mysql/ Share on other sites More sharing options...
Mchl Posted March 11, 2009 Share Posted March 11, 2009 Got PhpMyAdmin? It has 'copy table' feature. Link to comment https://forums.phpfreaks.com/topic/149001-solved-move-tables-in-mysql/#findComment-782382 Share on other sites More sharing options...
corbin Posted March 11, 2009 Share Posted March 11, 2009 The long way would be to manually make the same structure. You could do: SHOW CREATE TABLE table_name; Then copy and paste the CREATE TABLE return to make the table in the new database. Then, you could just do: INSERT INTO db2.table_name SELECT * FROM db1.table_name; Link to comment https://forums.phpfreaks.com/topic/149001-solved-move-tables-in-mysql/#findComment-782397 Share on other sites More sharing options...
contra10 Posted March 11, 2009 Author Share Posted March 11, 2009 ok i went to my database i went to operations at the bottom it says: The additional features for working with linked tables have been deactivated. To find out why click here. I click there i get this: PMA Database ... not OK[ Documentation ] General relation features Disabled i'm working with WAMP server Link to comment https://forums.phpfreaks.com/topic/149001-solved-move-tables-in-mysql/#findComment-782398 Share on other sites More sharing options...
Mchl Posted March 11, 2009 Share Posted March 11, 2009 Go to phpMyAdmin select database select a table go to 'Operations' tab there should be 'copy table' dialog on right. Link to comment https://forums.phpfreaks.com/topic/149001-solved-move-tables-in-mysql/#findComment-782402 Share on other sites More sharing options...
contra10 Posted March 11, 2009 Author Share Posted March 11, 2009 thnks Link to comment https://forums.phpfreaks.com/topic/149001-solved-move-tables-in-mysql/#findComment-782405 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.