( ! ) Warning: mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it. in C:\wamp64\www\vistaar\wp-includes\class-wpdb.php on line 1988
Call Stack
#TimeMemoryFunctionLocation
10.0001370440{main}( )...\index.php:0
20.0002370720require( 'C:\wamp64\www\vistaar\wp-blog-header.php )...\index.php:17
30.0002371104require_once( 'C:\wamp64\www\vistaar\wp-load.php )...\wp-blog-header.php:13
40.0003371800require_once( 'C:\wamp64\www\vistaar\wp-config.php )...\wp-load.php:50
50.0003373392require_once( 'C:\wamp64\www\vistaar\wp-settings.php )...\wp-config.php:100
60.0030418632require_wp_db( )...\wp-settings.php:136
70.0030420432wpdb->__construct( $dbuser = 'root', $dbpassword = 'makrotech', $dbname = 'vistaar_db', $dbhost = 'localhost:3306' )...\load.php:724
80.0031420432wpdb->db_connect( $allow_bail = ??? )...\class-wpdb.php:772
90.0031421312mysqli_real_connect( $link = class mysqli { public $client_info = 'mysqlnd 7.4.33'; public $client_version = 70433; public $connect_errno = 2002; public $connect_error = 'No connection could be made because the target machine actively refused it.\r\n'; public $errno = 2002; public $error = 'No connection could be made because the target machine actively refused it.\r\n' }, $host = 'localhost', $user = 'root', $password = 'makrotech', $database = NULL, $port = 3306, $socket = NULL, $flags = 0 )...\class-wpdb.php:1988
WordPress › Error

No connection could be made because the target machine actively refused it.

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:3306 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.