Warning: mysqli_connect(): (HY000/2002): No connection could be made because the target machine actively refused it in C:\wamp64\www\conn\conn.php on line 2

Fatal error: Uncaught TypeError: mysqli_set_charset(): Argument #1 ($mysql) must be of type mysqli, bool given in C:\wamp64\www\conn\conn.php:3 Stack trace: #0 C:\wamp64\www\conn\conn.php(3): mysqli_set_charset(false, 'utf8') #1 C:\wamp64\www\films\detalis.php(2): require_once('C:\\wamp64\\www\\c...') #2 {main} thrown in C:\wamp64\www\conn\conn.php on line 3