Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
require_once(__DIR__ . '/dibi.min.php');
dibi::connect(array(
'driver' => 'postgre',
'host' => 'localhost',
'dbname' => 'database',
'username' => 'username',
'password' => '***',
));
dibi::loadFile('compress.zlib://export.sql.gz');
echo 'done!';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment