Warning

mysqli::mysqli() [mysqli.mysqli]: (42000/1044): Access denied for user 'ad000500'@'localhost' to database 'ad000501db'

/home/sw015200/vendor/Onion/Database/MySQL.php

Url/Visitor

https://www.atriumarchitekti.sk/ (GET)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.6312.87 Safari/537.36

Source

209 }
210
211 /**
212 * Pripojenie k databázovému serveru
213 *
214 * @return void
215 */
216 private function connect()
217 {
218 $hash = sha1($this->host.$this->user.$this->password.$this->database);
219
220 if (isset($this->connections[$hash]) === true) {
221 $this->mysqli = $this->connections[$hash];
222
223 if (@$this->mysqli->ping() === true) {
224 return;
225 }
226 }
227
228 $mysqli = new \mysqli($this->host, $this->user, $this->password, $this->database, $this->port, $this->socket);
229
230 if ($mysqli->connect_error === false) {
231 throw new \Onion\Database\DatabaseException($mysqli->connect_error, $mysqli->connect_errno);
232 }
233
234 if ($mysqli->set_charset('utf8') === false) {
235 throw new \Onion\Database\DatabaseException($mysqli->connect_error, $mysqli->connect_errno);
236 }
237
238 $this->mysqli = $mysqli;

Backtrace

$_SERVER

array (
  'SCRIPT_URL' => '/',
  'SCRIPT_URI' => 'https://www.atriumarchitekti.sk/',
  'HTTP_AUTHORIZATION' => '',
  'HTTPS' => 'on',
  'SSL_TLS_SNI' => 'www.atriumarchitekti.sk',
  'HTTP_HOST' => 'www.atriumarchitekti.sk',
  'HTTP_CONNECTION' => 'keep-alive',
  'HTTP_SEC_CH_UA' => '".Not/A)Brand";v="99", "Google Chrome";v="123", "Chromium";v="123"',
  'HTTP_SEC_CH_UA_MOBILE' => '?0',
  'HTTP_SEC_CH_UA_PLATFORM' => '"macOS"',
  'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
  'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.6312.87 Safari/537.36',
  'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
  'HTTP_SEC_FETCH_SITE' => 'none',
  'HTTP_SEC_FETCH_MODE' => 'navigate',
  'HTTP_SEC_FETCH_USER' => '?1',
  'HTTP_SEC_FETCH_DEST' => 'document',
  'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br',
  'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.9',
  'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin',
  'SERVER_SIGNATURE' => '',
  'SERVER_SOFTWARE' => 'Apache',
  'SERVER_NAME' => 'www.atriumarchitekti.sk',
  'SERVER_ADDR' => '93.184.77.83',
  'SERVER_PORT' => '443',
  'REMOTE_ADDR' => '104.28.254.73',
  'DOCUMENT_ROOT' => '/home/sw015200/www_root',
  'SERVER_ADMIN' => 'webmaster@sw015200.hh',
  'SCRIPT_FILENAME' => '/home/sw015200/www_root/index.php',
  'REMOTE_PORT' => '52407',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'SERVER_PROTOCOL' => 'HTTP/1.1',
  'REQUEST_METHOD' => 'GET',
  'QUERY_STRING' => '',
  'REQUEST_URI' => '/',
  'SCRIPT_NAME' => '/index.php',
  'PHP_SELF' => '/index.php',
  'REQUEST_TIME' => 1739795396,
)