Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > e7f98cc52094672001c3e6a04c417ebf > files > 34

php-pear-DB_ldap2-0.5.0-2mdv2010.0.noarch.rpm

<?php
// This script prints "skip" unless:
// * the mysql extension is built-in or loadable, AND
// * there is a database called "test" accessible
//   with no username/password, AND
// * we have create/drop privileges on the entire "test"
//   database
include './setup.inc';
require_once 'DB.php';
if (!defined('DRIVER_DSN') || DRIVER_DSN == '') {
    die("skip\n");
}
$db = DB::connect(DRIVER_DSN);
if (DB::isError($db)) {
    die("skip\n");
}
?>