PHP Classes

Simple MySQL dump: Dump a MySQL database as SQL statements

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 37%Total: 2,432 All time: 1,599 This week: 455Up
Version License Categories
simmysqldump 1.0GNU General Publi...Databases, Systems administration
Description 

Author

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: 2001 in Serbia Serbia
Week rank: 178 Up2 in Serbia Serbia Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,432
This week:0
All time:1,599
This week:455Up
User Ratings User Comments (1)
 All time
Utility:50%StarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:55%StarStarStar
Tests:-
Videos:-
Overall:37%StarStar
Rank:4037