Warning: mysqli::__construct(): (HY000/2002): No connection could be made because the target machine actively refused it. in C:\xampp\htdocs\webreview\class\Rating.php on line 28

Warning: mysqli_set_charset(): Couldn't fetch mysqli in C:\xampp\htdocs\webreview\class\Rating.php on line 30
Error failed to connect to MySQL: No connection could be made because the target machine actively refused it.