Re: [PHP] Migration Scheme - from one mysql DB to another mysql DB
[email protected] (Per Jessen)
| Newsgroups | php.general |
|---|---|
| Organization | Per Jessens personal news-server |
| Message-ID | <[email protected]> |
MEM wrote: > Hello all, > > If possible, I would like to ask and have your help about the methods > and procedures that should exist to accomplish the following task: > I need to grab some data from one mySQL database with some specific > table and field names, to another mySQL database with specific table > and field names. The destination database tables are empty. > > What is a common procedure to do on those cases? Is there any? Dump all data from table1, optionally alter column names (e.g. using sed), load all data into table2. -- Per Jessen, Zürich (5.0°C)