SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'localhost' (10055)

Fatal error: Call to a member function query() on a non-object in C:\AppServ\www\really\chuanmei\count.click.php on line 8