11 return hash(
"sha256", implode(
"-", [
13 $this->config->getHost(),
14 $this->config->getPort(),
15 $this->config->getDatabase()
21 return "The database is created on the server.";
32 new \ilDatabaseServerIsConnectableObjective($this->config)
40 $db->initFromIniFile(
$c->toMockIniFile());
42 if (!$db->createDatabase(
$c->getDatabase(),
"utf8",
$c->getCollation())) {
44 "Database cannot be created."
58 $db->initFromIniFile(
$c->toMockIniFile());
60 $connect = $db->connect(
true);
An exception for terminatinating execution or to throw for unit testing.
Signals that some goal won't be achievable by actions of the system ever.
static getWrapper($a_type)
achieve(Setup\Environment $environment)
getPreconditions(Setup\Environment $environment)
isApplicable(Setup\Environment $environment)
@inheritDoc
An environment holds resources to be used in the setup process.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...