Warning: mysql_connect(): [2002] No connection could be made because the target machine actively (trying to connect via tcp://localhost:31006) in C:\inetpub\wwwroot\webcheatsheet.com\PHP\login_page\include\database.php on line 9 Warning: mysql_connect(): No connection could be made because the target machine actively refused it. in C:\inetpub\wwwroot\webcheatsheet.com\PHP\login_page\include\database.php on line 9 No connection could be made because the target machine actively refused it.