<?php
require_once './mysqlDump.php';
$mysqli = new mysqli('localhost','root','','dataBase');
$params['mysqli'] = $mysqli;
$params['database'] = 'dataBase';
$params['tableName'] = 'table';
$params['chunkPath'] = './';
$params['mysqlDump'] = '/usr/local/mysql/bin/mysqldump'; //Or mysqldump
$params['chunkSize'] = '1572864'; //~1.5 Mega
$params['username'] = 'root';
$params['password'] = '';
$dump = new mysqlDump($params);
?>
|