PHP Classes

Database structure synchronizer: Compare MySQL databases to synchronize structures

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 68%Total: 3,116 All time: 1,157 This week: 154Up
Version License PHP version Categories
db_struct_sync 1.0.0GNU General Publi...4.0Databases, Text processing
Description Author

This class can be used to compare two MySQL database table structures to generate SQL statements to update one to become another.

It can compare the table creation SQL statements of two MySQL databases as outputted for instance by the mysqldump command.

The class determines what changed from one database to the other and generates schema alteration SQL statements to create, drop and alter tables that should be applied to one database to make it have the same schema of the other.

Picture of shadower
Name: shadower <contact>
Classes: 1 package by
Country: Ukraine Ukraine
Age: 39
All time rank: 102818 in Ukraine Ukraine
Week rank: 553 Up8 in Ukraine Ukraine Up

  • syncDemo.jpg
  Files folder image Files  
File Role Description
Plain text file dbStruct.php Class Class source
Plain text file dbStruct_readme.txt Doc. short documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,157
This week:154Up
User Ratings User Comments (1)
 All time
Good script saved me loads of time.
8 years ago (Patrick McCarthy)