require_once(ELXIS_PATH.'/includes/install/inc/miniloader.php');require_once(ELXIS_PATH.'/includes/libraries/elxis/database.class.php');$params = array( 'dbtype' =>'xxx', 'host' => 'xxx', 'port' => 'xxx', 'dbname' => 'xxx', 'username' => 'xxx', 'password' => 'xxx', 'persistent' => 0, 'dsn' => 'xxx', 'scheme' => 'xxx', 'table_prefix' => 'xxx', 'debug' => 0);$db = new elxisDatabase($params, array(), false);$ok = $db->connect($params['dsn'], $params['username'], $params['password'], array(), true);