Warning: mysqli_connect(): (HY000/2002): No such file or directory in /var/www/html/tpirates-local/www/inc/query.php on line 9

Warning: mysqli_set_charset() expects parameter 1 to be mysqli, boolean given in /var/www/html/tpirates-local/www/inc/query.php on line 10
TITLE : 서버 연결 에러(db: tpirates)
TIME : 2020-08-07 13:50:11
URL : https://cdn.tpirates.com/
REPORT MESSAGE :
No such file or directory
=====================================================================================
###### GLOBALS ######
Array
(
    [_GET] => Array
        (
        )

    [_POST] => Array
        (
        )

    [_COOKIE] => Array
        (
        )

    [_FILES] => Array
        (
        )

    [_SERVER] => Array
        (
            [HTTP_X_FORWARDED_FOR] => 75.101.173.236, 130.176.98.152
            [HTTP_X_FORWARDED_PROTO] => https
            [HTTP_X_FORWARDED_PORT] => 443
            [HTTP_HOST] => cdn.tpirates.com
            [HTTP_X_AMZN_TRACE_ID] => Root=1-5f2cdd83-ded0de4265dfa618ae9f9cd4
            [HTTP_USER_AGENT] => Amazon CloudFront
            [HTTP_X_AMZ_CF_ID] => Cy3yeQW5A8AbGNUhBgJtI-5xsR0svHe_c6APs0YK-DIoBJLGv8MUkA==
            [HTTP_VIA] => 1.1 de2ed3c94563fee614f35f9bc3f52d1c.cloudfront.net (CloudFront)
            [HTTP_ACCEPT_ENCODING] => gzip
            [PATH] => /sbin:/usr/sbin:/bin:/usr/bin
            [SERVER_SIGNATURE] => 
            [SERVER_SOFTWARE] => Apache/2.4.39 (Amazon) OpenSSL/1.0.2k-fips PHP/7.0.25
            [SERVER_NAME] => cdn.tpirates.com
            [SERVER_ADDR] => 172.31.16.49
            [SERVER_PORT] => 80
            [REMOTE_ADDR] => 172.31.21.222
            [DOCUMENT_ROOT] => /var/www/html/tpirates/www
            [REQUEST_SCHEME] => http
            [CONTEXT_PREFIX] => 
            [CONTEXT_DOCUMENT_ROOT] => /var/www/html/tpirates/www
            [SERVER_ADMIN] => webmastar@blinkfactory.com
            [SCRIPT_FILENAME] => /var/www/html/tpirates/www/index.html
            [REMOTE_PORT] => 61274
            [GATEWAY_INTERFACE] => CGI/1.1
            [SERVER_PROTOCOL] => HTTP/1.1
            [REQUEST_METHOD] => GET
            [QUERY_STRING] => 
            [REQUEST_URI] => /
            [SCRIPT_NAME] => /index.html
            [PHP_SELF] => /index.html
            [REQUEST_TIME_FLOAT] => 1596775811.631
            [REQUEST_TIME] => 1596775811
        )

    [host] => 
    [user] => 
    [passwd] => 
    [sessionSaveHandler] => SessionSaveHandler Object
        (
            [savePath:protected] => /var/www/html/tpirates/www/_session/3/m/m
            [sessionPath:protected] => /var/www/html/tpirates/www/_session/3/m/m/sess_3mmtofmapphej7ku34fhchfsp2tpdv91
        )

    [_SESSION] => Array
        (
        )

    [_REQUEST] => Array
        (
        )

    [GLOBALS] => Array
 *RECURSION*
    [_CURRENCY_INFO] => Array
        (
            [1] => Array
                (
                    [currencyCode] => 1
                    [label] => KRW
                    [sign] => ₩
                    [koreanSign] => 원
                )

            [2] => Array
                (
                    [currencyCode] => 2
                    [label] => USD
                    [sign] => $
                    [koreanSign] => 달러
                )

            [3] => Array
                (
                    [currencyCode] => 3
                    [label] => EUR
                    [sign] => €
                    [koreanSign] => 유로
                )

        )

    [key] => 
    [val] => 
    [HTTP_X_FORWARDED_FOR] => 75.101.173.236, 130.176.98.152
    [HTTP_X_FORWARDED_PROTO] => https
    [HTTP_X_FORWARDED_PORT] => 443
    [HTTP_HOST] => cdn.tpirates.com
    [HTTP_X_AMZN_TRACE_ID] => Root=1-5f2cdd83-ded0de4265dfa618ae9f9cd4
    [HTTP_USER_AGENT] => Amazon CloudFront
    [HTTP_X_AMZ_CF_ID] => Cy3yeQW5A8AbGNUhBgJtI-5xsR0svHe_c6APs0YK-DIoBJLGv8MUkA==
    [HTTP_VIA] => 1.1 de2ed3c94563fee614f35f9bc3f52d1c.cloudfront.net (CloudFront)
    [HTTP_ACCEPT_ENCODING] => gzip
    [PATH] => /sbin:/usr/sbin:/bin:/usr/bin
    [SERVER_SIGNATURE] => 
    [SERVER_SOFTWARE] => Apache/2.4.39 (Amazon) OpenSSL/1.0.2k-fips PHP/7.0.25
    [SERVER_NAME] => cdn.tpirates.com
    [SERVER_ADDR] => 172.31.16.49
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 172.31.21.222
    [DOCUMENT_ROOT] => /var/www/html/tpirates/www
    [REQUEST_SCHEME] => http
    [CONTEXT_PREFIX] => 
    [CONTEXT_DOCUMENT_ROOT] => /var/www/html/tpirates/www
    [SERVER_ADMIN] => webmastar@blinkfactory.com
    [SCRIPT_FILENAME] => /var/www/html/tpirates/www/index.html
    [REMOTE_PORT] => 61274
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => 
    [REQUEST_URI] => /
    [SCRIPT_NAME] => /index.html
    [PHP_SELF] => /index.html
    [REQUEST_TIME_FLOAT] => 1596775811.631
    [REQUEST_TIME] => 1596775811
)