Warning: mysql_connect(): in D:\phpStudy\PHPTutorial\WWW\index.php on line 26

Fatal error: Uncaught exception 'Exception' with message '连接失败' in D:\phpStudy\PHPTutorial\WWW\index.php:28 Stack trace: #0 D:\phpStudy\PHPTutorial\WWW\index.php(8): mysql->connect('localhost', 'root', 'hpp1989224') #1 D:\phpStudy\PHPTutorial\WWW\index.php(19): mysql->__construct() #2 D:\phpStudy\PHPTutorial\WWW\index.php(72): mysql::getIns() #3 {main} thrown in D:\phpStudy\PHPTutorial\WWW\index.php on line 28