Moving data in table from mysql server A to server B

2001-12-18 Thread Kemp Randy-W18971

If I have mysql on server A and an identical version on server B, what is the easiest 
way to move data in Table C from server A to server B?

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: Moving data in table from mysql server A to server B

2001-12-18 Thread Roger Baklund

* Kemp Randy-W18971
 If I have mysql on server A and an identical version on server B,
 what is the easiest way to move data in Table C from server A to server B?

Asuming your databases are stored in /usr/local/mysql/var/ and the relevant
database is named database:

From Server A:

scp /usr/local/mysql/var/database/Table_C.*
Server_B:/usr/local/mysql/var/database/.

If the data is big and the connection is slow, you may want to compress the
data before you transfer it.

--
Roger


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php