If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > transferring table to another server

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-05, 00:54
popskie popskie is offline
Registered User
 
Join Date: Oct 2004
Location: In cousin's house
Posts: 303
transferring table to another server

hi,
Im using mysql 5.0.13 and table type is Innodb. Our company has 2 branches . I want to transfer that specifec table from branch A to branch B through email. But i dont knew what file in mysql subdirectory to make as my attachement. Anybody can help me.

thanks,

Popskie

Last edited by popskie; 11-10-05 at 01:21.
Reply With Quote
  #2 (permalink)  
Old 11-10-05, 08:55
jfulton jfulton is offline
Registered User
 
Join Date: Apr 2005
Location: Baltimore, MD
Posts: 297
Export the table and data to a .sql file. Email the file and then have them import it.
Reply With Quote
  #3 (permalink)  
Old 11-10-05, 20:33
popskie popskie is offline
Registered User
 
Join Date: Oct 2004
Location: In cousin's house
Posts: 303
Ok, Im using Dbtools manager professional. I can export to .dbf, .mdb, .txt but there is no .sql here. if it is ok for u can i ask what tools you are using and its free? heheheh.

thanks for the big help.

Popskie
Reply With Quote
  #4 (permalink)  
Old 11-11-05, 00:04
jfulton jfulton is offline
Registered User
 
Join Date: Apr 2005
Location: Baltimore, MD
Posts: 297
From the shell:
http://www.dbforums.com/mysql/1199569-copying-database.html#post4479795
I'm pretty sure you'll just have to specify the table name after the database name.

As far as good tools, I use phpMyAdmin. But you need php installed on your machine. If that's not an option, I'd try downloading one of the apps from the mysql site.
Reply With Quote
  #5 (permalink)  
Old 11-11-05, 01:17
popskie popskie is offline
Registered User
 
Join Date: Oct 2004
Location: In cousin's house
Posts: 303
thanks for the reply. I hope dis solution is good.
Reply With Quote
  #6 (permalink)  
Old 11-11-05, 14:02
ranbla ranbla is offline
Registered User
 
Join Date: Aug 2004
Location: San Antonio, TX
Posts: 84
Another way would be to use mysqldump. You can export your entire database into a single sql file, zip it up (if it's large) and copy it to the other server, unzip it and run it.

Not sure if DBTools has the capability, but if you can establish connections to both servers with it, it may let you duplicate databases/tables from one server to the other.
Reply With Quote
  #7 (permalink)  
Old 11-11-05, 14:20
jfulton jfulton is offline
Registered User
 
Join Date: Apr 2005
Location: Baltimore, MD
Posts: 297
Quote:
Originally Posted by ranbla
Another way would be to use mysqldump. You can export your entire database into a single sql file, zip it up (if it's large) and copy it to the other server, unzip it and run it.
This whole post was about mysqldump .
Reply With Quote
  #8 (permalink)  
Old 11-11-05, 19:30
popskie popskie is offline
Registered User
 
Join Date: Oct 2004
Location: In cousin's house
Posts: 303
ok thanks guys sqldump is good.
Reply With Quote
  #9 (permalink)  
Old 11-12-05, 18:38
expert-db expert-db is offline
Registered User
 
Join Date: Mar 2004
Posts: 33
Lightbulb

Hi,

Other option different to table dump is a database transfer or object tranfer, this option are available in many GUI's like MySQL Turbo Manager or MySQL Manager, this option is a lot easy that dump.


Regards,
Reply With Quote
  #10 (permalink)  
Old 11-15-05, 15:43
ranbla ranbla is offline
Registered User
 
Join Date: Aug 2004
Location: San Antonio, TX
Posts: 84
Quote:
Originally Posted by jfulton
This whole post was about mysqldump .
If it was, I wouldn't have mentioned it.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On