ERROR
Message: 'Connection refused'
Error details (dev mode enabled)
error type = 'exception' error phase = '1' error code = '500' error message = 'Connection refused'Error data
^ mysqli_sql_exception {#46 #message: "Connection refused" #code: 2002 #file: "/var/www/debina30/vendor/novusordo/common-lib/src/persistence/MySQLRDB.php" #line: 67 #sqlstate: "HY000" : { { NovusOrdo\Common\MySQLRDB->connect(): bool … ›if (!$this->Connection) { throw new MySQLRDBException("Error (1) while connecting, config = ".json_encode($this->Config)); };›$res = mysqli_real_connect(›\t$this->Connection,} { NovusOrdo\Common\MySQLRDB->q(string $q) … ›public function q(string $q) {›\t$this->connect();›\t} { NovusOrdo\WebFramework\ModelLocale->getActiveLangs(string $key = null, string $vkey = null) … ›\t$q\t\t= "SELECT * FROM {$this->DBName}.languages WHERE lang_active = 1 ORDER BY lang_order DESC";›\treturn $this->DB->rs2arr($this->DB->q($q), $key, $vkey);›}} { NovusOrdo\WebFramework\ControllerLocale->detectLanguage(array $route_params = null, URL $url = null, User $user = null, Request $request = null): ?string … ›protected function detectLanguage(?array $route_params = null, ?URL $url = null, ?User $user = null, ?Request $request = null): ?string {›\t$avail_langs\t= array_keys($this->ModelLocale->getActiveLangs('lang_lang'));› } { NovusOrdo\WebFramework\ControllerLocale->alwaysDefault(App $app, array $params, Request $request, Response $response): void … ›// wykrywamy jezyk›$this->Lang\t\t\t\t\t\t\t= $this->detectLanguage($params, $request->URL, $app[App::USER], $request);›// ustawiamy jezyk w appce} { NovusOrdo\Common\Util::callAction($action, array $call_params, $obj_array_access, string $default_method_name = null) … ›\t// wykonujemy metode, zwracamy wynik›\treturn $object->$method_name(...$call_params);›}} { NovusOrdo\WebFramework\App->executeAlwaysControllers(string $controller_type): int … ›foreach ($this->AlwaysControllers[$controller_type] as $action) {›\t$action_ret = Util::callAction(›\t\t$action['controller'],} { NovusOrdo\WebFramework\App->start(): void … ›\t// wykonujemy always controllery z samego poczatku›\t$this->executeAlwaysControllers(self::AC_START);›}} { NovusOrdo\WebFramework\App->run(): void … ›// tez wszystkie controllery AC_START ktore wykonuja sie zawsze na poczatku, jeszcze przed routingiem›$this->start();›// routing. okreslamy co ma zostac wykonane, w jakiej koljenosci. jaki ma byc renderer etc.} { ›// uruchamiamy appke ;)›$app->run();› } } }