19declare(strict_types=1);
27 return hash(
"sha256", implode(
"-", [
29 $this->config->getHost(),
30 $this->config->getPort(),
31 $this->config->getDatabase()
37 return "The database is created on the server.";
51 new \ilDatabaseServerIsConnectableObjective($this->config)
59 $db->initFromIniFile(
$c->toMockIniFile());
61 if (!$db->createDatabase(
$c->getDatabase(),
"utf8",
$c->getCollation())) {
63 "Database cannot be created."
77 $db->initFromIniFile(
$c->toMockIniFile());
79 $connect = $db->connect(
true);
Signals that some goal won't be achievable by actions of the system ever.
static getWrapper(string $a_type)
achieve(Setup\Environment $environment)
getPreconditions(Setup\Environment $environment)
isApplicable(Setup\Environment $environment)
@inheritDoc
ilDatabaseSetupConfig $config
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...