PHP Classes

Easy MySQL Dump: Dump the structure and data of a MySQL database

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,178 This week: 1All time: 3,212 This week: 560Up
Version License PHP version Categories
easymsqldumper 1.0Freeware4.3Databases
Description 

Author

This class be used to dump the structure and data of a MySQL database to a backup file.

It traverses the list of tables of a given MySQL database and generates the SQL statements that would be necessary recreate all the tables and the data in their records.

The class may optionally not generate SQL statements for creating the tables or inserting the table records.

The generated SQL statements can be returned as a single text string or served for download directly or compressed in the gzip format.

Based on class of Marcus Vinícius, thanks for original code, just made some updates to make class more usable and customizable, fixed compatibility with MySql5, and fixed "CURRENT_TIMESTAMP" little bug.

Picture of Sergey Shilko
Name: Sergey Shilko <contact>
Classes: 4 packages by
Country: Belarus Belarus
Age: 38
All time rank: 3402 in Belarus Belarus
Week rank: 411 Down2 in Belarus Belarus Equal

  Files folder image Files  
File Role Description
Accessible without login Plain text file author_origin Lic. Thanks to
Plain text file class_mysqldump.php Class main class , all in one
Accessible without login Plain text file example.php Example Example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,178
This week:1
All time:3,212
This week:560Up
User Comments (1)
Very Utility class.
15 years ago (scorninPC)
67%StarStarStarStar