Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-04-30 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,148 All time: 3,048 This week: 1,387Up
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: 29
All time rank: 3302 in Belarus Belarus
Week rank: 630 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,148All time:3,048
 This week:0This week:1,387Up
 User Comments (1)  
 
Very Utility class.
6 years ago (scorninPC)
67%StarStarStarStar