ErrorException (E_WARNING)
mysqli_real_connect(): (HY000/2002): Connection refused ErrorException thrown with message "mysqli_real_connect(): (HY000/2002): Connection refused" Stacktrace: #8 ErrorException in /home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-includes/class-wpdb.php:1987 #7 mysqli_real_connect in /home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-includes/class-wpdb.php:1987 #6 wpdb:db_connect in /home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-includes/class-wpdb.php:767 #5 wpdb:__construct in /home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-includes/load.php:683 #4 require_wp_db in /home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-settings.php:124 #3 require_once in /home/storm/sites/uniarctorchology-com-1/public/htdocs/wp-config.php:47 #2 require_once in /home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-load.php:55 #1 require_once in /home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-blog-header.php:13 #0 require in /home/storm/sites/uniarctorchology-com-1/public/htdocs/index.php:11
8
ErrorException
/htdocs/cms/wp-includes/class-wpdb.php1987
7
mysqli_real_connect
/htdocs/cms/wp-includes/class-wpdb.php1987
6
wpdb db_connect
/htdocs/cms/wp-includes/class-wpdb.php767
5
wpdb __construct
/htdocs/cms/wp-includes/load.php683
4
require_wp_db
/htdocs/cms/wp-settings.php124
3
require_once
/htdocs/wp-config.php47
2
require_once
/htdocs/cms/wp-load.php55
1
require_once
/htdocs/cms/wp-blog-header.php13
0
require
/htdocs/index.php11
/home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-includes/class-wpdb.php
        $port    = null;
        $socket  = null;
        $is_ipv6 = false;
 
        $host_data = $this->parse_db_host( $this->dbhost );
        if ( $host_data ) {
            list( $host, $port, $socket, $is_ipv6 ) = $host_data;
        }
 
        /*
         * If using the `mysqlnd` library, the IPv6 address needs to be enclosed
         * in square brackets, whereas it doesn't while using the `libmysqlclient` library.
         * @see https://bugs.php.net/bug.php?id=67563
         */
        if ( $is_ipv6 && extension_loaded( 'mysqlnd' ) ) {
            $host = "[$host]";
        }
 
        if ( WP_DEBUG ) {
            mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
        } else {
            // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
            @mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
        }
 
        if ( $this->dbh->connect_errno ) {
            $this->dbh = null;
        }
 
        if ( ! $this->dbh && $allow_bail ) {
            wp_load_translations_early();
 
            // Load custom DB error template, if present.
            if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) {
                require_once WP_CONTENT_DIR . '/db-error.php';
                die();
            }
 
            $message = '<h1>' . __( 'Error establishing a database connection' ) . "</h1>\n";
 
Arguments
  1. "mysqli_real_connect(): (HY000/2002): Connection refused"
    
/home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-includes/class-wpdb.php
        $port    = null;
        $socket  = null;
        $is_ipv6 = false;
 
        $host_data = $this->parse_db_host( $this->dbhost );
        if ( $host_data ) {
            list( $host, $port, $socket, $is_ipv6 ) = $host_data;
        }
 
        /*
         * If using the `mysqlnd` library, the IPv6 address needs to be enclosed
         * in square brackets, whereas it doesn't while using the `libmysqlclient` library.
         * @see https://bugs.php.net/bug.php?id=67563
         */
        if ( $is_ipv6 && extension_loaded( 'mysqlnd' ) ) {
            $host = "[$host]";
        }
 
        if ( WP_DEBUG ) {
            mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
        } else {
            // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
            @mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
        }
 
        if ( $this->dbh->connect_errno ) {
            $this->dbh = null;
        }
 
        if ( ! $this->dbh && $allow_bail ) {
            wp_load_translations_early();
 
            // Load custom DB error template, if present.
            if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) {
                require_once WP_CONTENT_DIR . '/db-error.php';
                die();
            }
 
            $message = '<h1>' . __( 'Error establishing a database connection' ) . "</h1>\n";
 
/home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-includes/class-wpdb.php
     * @param string $dbpassword Database password.
     * @param string $dbname     Database name.
     * @param string $dbhost     Database host.
     */
    public function __construct( $dbuser, $dbpassword, $dbname, $dbhost ) {
        if ( WP_DEBUG && WP_DEBUG_DISPLAY ) {
            $this->show_errors();
        }
 
        $this->dbuser     = $dbuser;
        $this->dbpassword = $dbpassword;
        $this->dbname     = $dbname;
        $this->dbhost     = $dbhost;
 
        // wp-config.php creation will manually connect when ready.
        if ( defined( 'WP_SETUP_CONFIG' ) ) {
            return;
        }
 
        $this->db_connect();
    }
 
    /**
     * Makes private properties readable for backward compatibility.
     *
     * @since 3.5.0
     *
     * @param string $name The private member to get, and optionally process.
     * @return mixed The private member.
     */
    public function __get( $name ) {
        if ( 'col_info' === $name ) {
            $this->load_col_info();
        }
 
        return $this->$name;
    }
 
    /**
     * Makes private properties settable for backward compatibility.
/home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-includes/load.php
 */
function require_wp_db() {
    global $wpdb;
 
    require_once ABSPATH . WPINC . '/class-wpdb.php';
 
    if ( file_exists( WP_CONTENT_DIR . '/db.php' ) ) {
        require_once WP_CONTENT_DIR . '/db.php';
    }
 
    if ( isset( $wpdb ) ) {
        return;
    }
 
    $dbuser     = defined( 'DB_USER' ) ? DB_USER : '';
    $dbpassword = defined( 'DB_PASSWORD' ) ? DB_PASSWORD : '';
    $dbname     = defined( 'DB_NAME' ) ? DB_NAME : '';
    $dbhost     = defined( 'DB_HOST' ) ? DB_HOST : '';
 
    $wpdb = new wpdb( $dbuser, $dbpassword, $dbname, $dbhost );
}
 
/**
 * Sets the database table prefix and the format specifiers for database
 * table columns.
 *
 * Columns not listed here default to `%s`.
 *
 * @since 3.0.0
 * @access private
 *
 * @global wpdb   $wpdb         WordPress database abstraction object.
 * @global string $table_prefix The database table prefix.
 */
function wp_set_wpdb_vars() {
    global $wpdb, $table_prefix;
 
    if ( ! empty( $wpdb->error ) ) {
        dead_db();
    }
/home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-settings.php
wp_set_lang_dir();
 
// Load early WordPress files.
require ABSPATH . WPINC . '/class-wp-list-util.php';
require ABSPATH . WPINC . '/formatting.php';
require ABSPATH . WPINC . '/meta.php';
require ABSPATH . WPINC . '/functions.php';
require ABSPATH . WPINC . '/class-wp-meta-query.php';
require ABSPATH . WPINC . '/class-wp-matchesmapregex.php';
require ABSPATH . WPINC . '/class-wp.php';
require ABSPATH . WPINC . '/class-wp-error.php';
require ABSPATH . WPINC . '/pomo/mo.php';
 
/**
 * @global wpdb $wpdb WordPress database abstraction object.
 * @since 0.71
 */
global $wpdb;
// Include the wpdb class and, if present, a db.php database drop-in.
require_wp_db();
 
// Set the database table prefix and the format specifiers for database table columns.
$GLOBALS['table_prefix'] = $table_prefix;
wp_set_wpdb_vars();
 
// Start the WordPress object cache, or an external object cache if the drop-in is present.
wp_start_object_cache();
 
// Attach the default filters.
require ABSPATH . WPINC . '/default-filters.php';
 
// Initialize multisite if enabled.
if ( is_multisite() ) {
    require ABSPATH . WPINC . '/class-wp-site-query.php';
    require ABSPATH . WPINC . '/class-wp-network-query.php';
    require ABSPATH . WPINC . '/ms-blogs.php';
    require ABSPATH . WPINC . '/ms-settings.php';
} elseif ( ! defined( 'MULTISITE' ) ) {
    define( 'MULTISITE', false );
}
/home/storm/sites/uniarctorchology-com-1/public/htdocs/wp-config.php
|--------------------------------------------------------------------------
|
| We're going to initialize the kernel instance and capture the current
| request. We won't directly manage a response from the current file.
| We let WordPress bootstrap its stuff and we'll manage the response
| once WordPress is fully loaded.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$kernel->init(
    Illuminate\Http\Request::capture()
);
 
/*----------------------------------------------------*/
// Database prefix (WordPress)
/*----------------------------------------------------*/
$table_prefix = env('DATABASE_PREFIX', 'wp_');
 
/* That's all, stop editing! Happy blogging. */
require_once ABSPATH.'/wp-settings.php';
 
Arguments
  1. "/home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-settings.php"
    
/home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-load.php
    error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
}
 
/*
 * If wp-config.php exists in the WordPress root, or if it exists in the root and wp-settings.php
 * doesn't, load wp-config.php. The secondary check for wp-settings.php has the added benefit
 * of avoiding cases where the current directory is a nested installation, e.g. / is WordPress(a)
 * and /blog/ is WordPress(b).
 *
 * If neither set of conditions is true, initiate loading the setup process.
 */
if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
 
    /** The config file resides in ABSPATH */
    require_once ABSPATH . 'wp-config.php';
 
} elseif ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) {
 
    /** The config file resides one level above ABSPATH but is not part of another installation */
    require_once dirname( ABSPATH ) . '/wp-config.php';
 
} else {
 
    // A config file doesn't exist.
 
    define( 'WPINC', 'wp-includes' );
    require_once ABSPATH . WPINC . '/version.php';
    require_once ABSPATH . WPINC . '/compat.php';
    require_once ABSPATH . WPINC . '/load.php';
 
    // Check for the required PHP version and for the MySQL extension or a database drop-in.
    wp_check_php_mysql_versions();
 
    // Standardize $_SERVER variables across setups.
    wp_fix_server_vars();
 
    define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
    require_once ABSPATH . WPINC . '/functions.php';
 
    $path = wp_guess_url() . '/wp-admin/setup-config.php';
Arguments
  1. "/home/storm/sites/uniarctorchology-com-1/public/htdocs/wp-config.php"
    
/home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-load.php"
    
/home/storm/sites/uniarctorchology-com-1/public/htdocs/index.php
<?php
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);
 
/** Loads the WordPress Environment and Template */
require dirname(__FILE__).'/cms/wp-blog-header.php';
 
Arguments
  1. "/home/storm/sites/uniarctorchology-com-1/public/htdocs/cms/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache/2.4.52 (Ubuntu)"
REQUEST_URI
"/torch-ranges/twc-mig/"
USER
"uniarctorchology-com-1"
HOME
"/home/storm/sites/uniarctorchology-com-1"
SCRIPT_NAME
"/htdocs/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/index.php"
REMOTE_PORT
"48138"
SCRIPT_FILENAME
"//home/storm/sites/uniarctorchology-com-1/public/htdocs/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/home/storm/sites/uniarctorchology-com-1/public"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/home/storm/sites/uniarctorchology-com-1/public"
REMOTE_ADDR
"3.227.239.160"
SERVER_PORT
"80"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"www.uniarctorchology.com"
SERVER_SIGNATURE
"<address>Apache/2.4.52 (Ubuntu) Server at www.uniarctorchology.com Port 80</address>\n"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
HTTP_CF_CONNECTING_IP
"3.227.239.160"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_CF_RAY
"86bb3d4cdac30aa7-IAD"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_FOR
"3.227.239.160"
HTTP_X_REAL_IP
"3.227.239.160"
HTTP_HOST
"www.uniarctorchology.com"
proxy-nokeepalive
"1"
HTTP_AUTHORIZATION
""
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/htdocs/index.php"
REQUEST_TIME_FLOAT
1711666859.3181
REQUEST_TIME
1711666859
APP_ENV
"production"
APP_DEBUG
"true"
APP_KEY
"base64:yee5pYJY7PDKH9qnpsqSYbykrdYX8Bk+ypd5VLlApaQ="
APP_TD
"themosis"
APP_URL
"https://uniarctorchology.com"
WP_URL
"https://uniarctorchology.com/cms"
DATABASE_NAME
"uniarctorchology"
DATABASE_USER
"NgnKUhF0"
DATABASE_PASSWORD
"xBjUlLEUXEy55evQ"
DATABASE_HOST
"localhost"
MAIL_HOST
"your-smtp-host"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_FROM_ADDRESS
"[email protected]"
MAIL_FROM_NAME
"Themosis"
Key Value
APP_ENV
"production"
APP_DEBUG
"true"
APP_KEY
"base64:yee5pYJY7PDKH9qnpsqSYbykrdYX8Bk+ypd5VLlApaQ="
APP_TD
"themosis"
APP_URL
"https://uniarctorchology.com"
WP_URL
"https://uniarctorchology.com/cms"
DATABASE_NAME
"uniarctorchology"
DATABASE_USER
"NgnKUhF0"
DATABASE_PASSWORD
"xBjUlLEUXEy55evQ"
DATABASE_HOST
"localhost"
MAIL_HOST
"your-smtp-host"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_FROM_ADDRESS
"[email protected]"
MAIL_FROM_NAME
"Themosis"
0. Whoops\Handler\PrettyPageHandler