PHP Classes

Simple MySQL dump: Dump a MySQL database as SQL statements

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
StarStar 37%Total: 2,431 All time: 1,598 This week: 252Up
Version License Categories
simmysqldump 1.0GNU General Publi...Databases, Systems administration


This class can be used to dump a MySQL database as a list of SQL statements.

It can retrieve the database tables metadata and execute and SQL SELECT query to retrieve all the data of the tables to be dumped.

The class returns a string with the table creation and record insertion statements similar to what the mysql_dump command outputs.

It can dump all the tables of a MySQL database, or just part of the database tables.

Picture of Nemanja Avramovic
Name: Nemanja Avramovic <contact>
Classes: 9 packages by
Country: Serbia Serbia
Age: 37
All time rank: 2011 in Serbia Serbia
Week rank: 184 Up3 in Serbia Serbia Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file example.sql Data Example SQL file
Plain text file MySQLDump.class.php Class Simple MySQL dump class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,598
This week:252Up
User Ratings User Comments (1)
 All time