Cal Evans wrote:

> If both are using mySql, just use mysqldump to dump to a file and then
> import it from the file.
> 
> It might be fun, just for grins and giggles to:
> mysqldump <databasename > mysql newDatabaseName

That should be:
mysqladmin create newDatabaseName
mysqldump --opt databasename | mysql newDatabaseName

> 
> and see if that works.
> Obligatory warning: if you do this and it trashes your server and wrecks
> your car, I was just kidding.
> 
> Cal
> *
> * Cal Evans
> * Senior Internet Dreamer
> * http://www.calevans.com
> *
> ----- Original Message -----
> From: "Eugénio Veiga" <[EMAIL PROTECTED]>
> To: "MySQL" <[EMAIL PROTECTED]>
> Sent: Monday, July 09, 2001 12:12
> Subject: Importing a complete database
> 
> 
> 
>> Hi
>> 
>> Is it possible to import a complete database from a server to another
>> one?
>> 
>> Thanks
>> 
>> Eugénio
>> 
>> 
>> ---------------------------------------------------------------------
>> 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


-- 
Gerald L. Clark
[EMAIL PROTECTED]


---------------------------------------------------------------------
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

Reply via email to