Warning

mysqli::__construct(): (HY000/2002): No such file or directory

/mnt/devel/studiopl/vendor/Onion/Database/MySQL.php

Url/Visitor

http://88.212.45.6/studiopl/public_html/ (GET)

Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.92 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

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 (
  'HTTP_HOST' => '88.212.45.6',
  'HTTP_AMP_CACHE_TRANSFORM' => 'google;v="1..3"',
  'HTTP_CONNECTION' => 'keep-alive',
  'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/signed-exchange;v=b3,application/xml;q=0.9,*/*;q=0.8',
  'HTTP_FROM' => 'googlebot(at)googlebot.com',
  'HTTP_USER_AGENT' => 'Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.92 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)',
  'HTTP_ACCEPT_ENCODING' => 'gzip,deflate,br',
  'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
  'SERVER_SIGNATURE' => '<address>Apache/2.4.38 (Debian) Server at 88.212.45.6 Port 80</address>
',
  'SERVER_SOFTWARE' => 'Apache/2.4.38 (Debian)',
  'SERVER_NAME' => '88.212.45.6',
  'SERVER_ADDR' => '192.168.1.100',
  'SERVER_PORT' => '80',
  'REMOTE_ADDR' => '66.249.64.186',
  'DOCUMENT_ROOT' => '/mnt/devel',
  'REQUEST_SCHEME' => 'http',
  'CONTEXT_PREFIX' => '',
  'CONTEXT_DOCUMENT_ROOT' => '/mnt/devel',
  'SERVER_ADMIN' => 'webmaster@localhost',
  'SCRIPT_FILENAME' => '/mnt/devel/studiopl/public_html/index.php',
  'REMOTE_PORT' => '61862',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'SERVER_PROTOCOL' => 'HTTP/1.1',
  'REQUEST_METHOD' => 'GET',
  'QUERY_STRING' => '',
  'REQUEST_URI' => '/studiopl/public_html/',
  'SCRIPT_NAME' => '/studiopl/public_html/index.php',
  'PHP_SELF' => '/studiopl/public_html/index.php',
  'REQUEST_TIME_FLOAT' => 1592414346.48,
  'REQUEST_TIME' => 1592414346,
)