( ! ) Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /home/mcacc99423/spacescience.ca/wp-includes/class-wpdb.php on line 1987
Call Stack
#TimeMemoryFunctionLocation
10.0170376552{main}( ).../index.php:0
20.0554377232require( '/home/mcacc99423/spacescience.ca/wp-blog-header.php ).../index.php:17
30.1716377648require_once( '/home/mcacc99423/spacescience.ca/wp-load.php ).../wp-blog-header.php:13
40.8718378472require_once( '/home/mcacc99423/spacescience.ca/wp-config.php ).../wp-load.php:50
51.0637379936require_once( '/home/mcacc99423/spacescience.ca/wp-settings.php ).../wp-config.php:89
64.7995401896require_wp_db( ).../wp-settings.php:131
74.8021403696wpdb->__construct( $dbuser = 'mcacc994_spa', $dbpassword = 'J9qovcpcOGm', $dbname = 'mcacc994_spa', $dbhost = 'localhost' ).../load.php:687
84.8022403696wpdb->db_connect( $allow_bail = ??? ).../class-wpdb.php:767
94.8028404576mysqli_real_connect( $mysql = class mysqli { public $client_info = 'mysqlnd 8.1.27'; public $client_version = 80127; public $connect_errno = 2002; public $connect_error = 'Connection refused'; public $errno = 2002; public $error = 'Connection refused' }, $hostname = 'localhost', $username = 'mcacc994_spa', $password = 'J9qovcpcOGm', $database = NULL, $port = NULL, $socket = NULL, $flags = 0 ).../class-wpdb.php:1987
WordPress › Error

Connection refused

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or that contact with the database server at localhost could not be established. This could mean your host’s database server is down.

If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress support forums.