2017 © Pedro Peláez
 

library mysql-dump

MySQL database dump.

image

clevis/mysql-dump

MySQL database dump.

  • Friday, April 17, 2015
  • by JanTvrdik
  • Repository
  • 7 Watchers
  • 2 Stars
  • 575 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 27 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

MySQL Dump Utility

This is a backup utility used to dump a database for backup or transfer to another MySQL server. The dump typically contains SQL statements to create the table, populate it, or both., (*1)

It requires PHP 5.0.5 or later., (*2)

Usage

Create MySQLi object and pass it to the MySQLDump:, (*3)

$dump = new MySQLDump(new mysqli('localhost', 'root', 'password', 'database'));

You can optionally specify how each table or view should be exported:, (*4)

$dump->tables['search_cache'] = MySQLDump::DROP | MySQLDump::CREATE;
$dump->tables['log'] = MySQLDump::NONE;

Then simply call save() or write():, (*5)

$dump->save('export.sql.gz');

Project at GitHub: http://github.com/dg/MySQL-dump, (*6)

(c) David Grudl, 2008, 2013 (http://davidgrudl.com), (*7)

The Versions

17/04 2015

dev-master

9999999-dev

MySQL database dump.

  Sources   Download

BSD-3-Clause

mysql

17/04 2015

v1.3.2

1.3.2.0

MySQL database dump.

  Sources   Download

BSD-3-Clause

mysql

03/02 2014

v1.3.1

1.3.1.0

MySQL database dump.

  Sources   Download

BSD-3-Clause

mysql

03/02 2014

v1.3.0

1.3.0.0

MySQL database dump.

  Sources   Download

BSD-3-Clause

mysql

03/02 2014

v1.2.1

1.2.1.0

MySQL database dump.

  Sources   Download

BSD-3-Clause

mysql

26/11 2013

v1.2.0

1.2.0.0

MySQL database dump.

  Sources   Download

BSD-3-Clause

mysql

13/05 2013

v1.1.0

1.1.0.0 https://github.com/dg/MySQL-dump

MySQL database dump.

  Sources   Download

BSD-3

mysql

31/08 2012

v1.0.0

1.0.0.0 https://github.com/dg/MySQL-dump

MySQL database dump.

  Sources   Download

BSD-3

mysql