PHP Classes

PHP MySQL Database Export to SQL: Dump a MySQL database records to a SQL file

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 391 All time: 6,623 This week: 155Up
Version License PHP version Categories
mysql-db-export 1.0Freeware4Databases, Systems administration


This class can dump a MySQL database records to a SQL file.

It can get the list of tables of a given MySQL database and retrieve the data of the records of those tables.

The class can generate a file with SQL statements to insert the data back into the database tables.


CRUD MySQL and MySQL dump to SQL file
I need a class for connect to MySQL and dump SQL file

Picture of Bharat Parmar
  Performance   Level  
Name: Bharat Parmar <contact>
Classes: 11 packages by
Country: India India
Age: 32
All time rank: 52230 in India India
Week rank: 198 Up18 in India India Up
Innovation award
Innovation award
Nominee: 3x


= new DBExport();

//parameter value : 1 for stucture only. 0 for data with structure.

  Files folder image Files  
File Role Description
Plain text file DBExport.class.php Class Class file for the Database Export and Download Methods
Accessible without login Plain text file download.php Aux. Download the Exported Database File Script
Accessible without login Plain text file example.php Example Example Script file to Export and Download the MySQL Database
Accessible without login Plain text file Example Example script
Accessible without login Plain text file ReadMe.txt Doc. Read Me file for the Class.

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,623
This week:155Up