PHP Classes

Data Migrator and Merger: Synchronize MySQL tables with another database

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 640 All time: 4,973 This week: 319Up
Version License PHP version Categories
data-migrator-merger 1.0GNU General Publi...5.2PHP 5, Databases, Systems administration


This class can synchronize MySQL tables with another database.

It connects to a given MySQL database, retrieves the lists of tables and their fields.

The class executes INSERT statements that recreate the table records in another MySQL database in the same server, so it can be used to migrate records between two versions of the same database schema.


Database synchronization
Synchronization of databases

Picture of Nitesh Apte
  Performance   Level  
Name: Nitesh Apte is available for providing paid consulting. Contact Nitesh Apte .
Classes: 17 packages by
Country: India India
Age: 39
All time rank: 1337 in India India
Week rank: 35 Up5 in India India Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file class.DataMigratorMerger.php Class Main class
Accessible without login Plain text file LICENSE.TXT Lic. lincense
Accessible without login Plain text file newschema.sql Data schema - new
Accessible without login Plain text file oldschema.sql Data schema - old
Accessible without login Plain text file PLZREAD.TXT Doc. Explaination
Accessible without login Plain text file test.php Example example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,973
This week:319Up
User Comments (2)
6 years ago (muabshir)
Thats a good and useful class ! :-)
11 years ago (Josť Filipe Lopes Santos)