Re: Migration Scheme - from one mysql DB to another mysql DB

From: Date: Sat, 13 Mar 2010 16:32:38 +0000
Subject: Re: Migration Scheme - from one mysql DB to another mysql DB
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-302778@lists.php.net to get a copy of this message
On Sat, 2010-03-13 at 17:09 +0100, Per Jessen wrote: > > 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? There may be several ways, but one way would be to open a mysqli connection to one database, another mysqli connection to the other database, then to pump all data over, optionally filtering the data. Teus.

« previous php.general (#302778) next »