Re: Importing a complete database

2001-07-09 Thread Cal Evans
CTED]> Cc: "Eugénio Veiga" <[EMAIL PROTECTED]>; "MySQL" <[EMAIL PROTECTED]> Sent: Monday, July 09, 2001 02:00 Subject: Re: Importing a complete database Cal Evans wrote: > If both are using mySql, just use mysqldump to dump to a file and then > import it fro

Re: Importing a complete database

2001-07-09 Thread Gerald Clark
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 mysql newDatabaseName That should be: mysqladmin create newDatabaseName mysqldump --opt databasename | mysql ne

Re: Importing a complete database

2001-07-09 Thread Cal Evans
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 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 ki

RE: Importing a complete database

2001-07-09 Thread Chris Bolt
mysqldump databasename | gzip > databasename.sql.gz transfer that file to the other server mysqladmin create databasename zcat databasename.sql.gz | mysql databasename > Hi > > Is it possible to import a complete database from a server to another > one? > > Thanks > > Eugénio --