PHP Classes

SQL Export: Exports individual MySQL tables as SQL statements

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (9)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 7,214 All time: 263 This week: 455Down
Version License Categories
sql_export 1.0.0FreewareDatabases, Systems administration


This is a simple class which can dump one or more tables from a MySQL database as a series of SQL statements.

It can be used to generate backup copies of only certain tables of a MySQL database.

The table dumps are made up of valid MySQL queries that can be executed later to restore the table definitions and any data that the tables may contain.

The output is similar to what the command mysqldump produces but this class does not use such command.

Picture of Adam Globus-Hoenich
Name: Adam Globus-Hoenich <contact>
Classes: 3 packages by
Country: Canada Canada
Age: 39
All time rank: 23511 in Canada Canada
Week rank: 271 Down7 in Canada Canada Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example export
Accessible without login HTML file readme.htm Doc. The readme and example code snippet
Plain text file SQL_Export.php Class SQL_Export class - include in your code to use the class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:263
This week:455Down
User Ratings User Comments (8)
 All time