Re: moving databases question...

2002-05-07 Thread Ron Beck

While I haven't tested this, you might try something like...

mysqldump -h  -u  -p  | mysql -h  -u
 -p 

or, share out and NFS mount the new system's partition to the old system
and do a dump that way.

Just a few thoughts,
Ron

Richard Idalski wrote:
> 
> I have before me what seems to be a very daunting task to someone with my
> limited SQL knowledge. I'm upgrading our ad server which runs on MySQL
> 3.22.32 to a newer machine and MySQL 3.23.39. Right now there are 16GB worth
> of databases that need to be transferred over, and the old server lacks
> enough hard disks space to even do a dump on one of those tables. So is
> there a way I can do a mysqldump directly from the old machine to the new
> one over the network? And if I can or if I'm offered a better way to do
> this, will the difference in MySQL version affect anything?
> 
> Thanks in advance for any help/information.
> 
> ---
> Richard Idalski
> System Administrator
> Nando Media
> Office: 919.836.4805
> AIM: Ryusonuke
> www.nandomedia.com
> --
> 
> -
> 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

-
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 databases question...

2002-05-07 Thread Alexander Keremidarski

Hi,
Richard Idalski wrote:
> I have before me what seems to be a very daunting task to someone with my
> limited SQL knowledge. I'm upgrading our ad server which runs on MySQL
> 3.22.32 to a newer machine and MySQL 3.23.39. Right now there are 16GB worth
> of databases that need to be transferred over, and the old server lacks
> enough hard disks space to even do a dump on one of those tables. So is
> there a way I can do a mysqldump directly from the old machine to the new
> one over the network? And if I can or if I'm offered a better way to do
> this, will the difference in MySQL version affect anything?

Like all commandline tools mysqldump also has option -h host
mysqldump -h oldhost 

mysqldump --help to see all it's options
http://www.mysql.com/doc/m/y/mysqldump.html
-- 
Best regards
-- 
For technical support contracts, visit https://order.mysql.com/
__  ___ ___   __
   /  |/  /_ __/ __/ __ \/ /Mr. Alexander Keremidarski <[EMAIL PROTECTED]>
  / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Full-Time Developer
/_/  /_/\_, /___/\___\_\___/   Sofia, Bulgaria
<___/   www.mysql.com   M: +359 88 231668




-
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




moving databases question...

2002-05-06 Thread Richard Idalski


I have before me what seems to be a very daunting task to someone with my
limited SQL knowledge. I'm upgrading our ad server which runs on MySQL
3.22.32 to a newer machine and MySQL 3.23.39. Right now there are 16GB worth
of databases that need to be transferred over, and the old server lacks
enough hard disks space to even do a dump on one of those tables. So is
there a way I can do a mysqldump directly from the old machine to the new
one over the network? And if I can or if I'm offered a better way to do
this, will the difference in MySQL version affect anything?

Thanks in advance for any help/information.

---
Richard Idalski
System Administrator
Nando Media
Office: 919.836.4805
AIM: Ryusonuke
www.nandomedia.com
--


-
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