Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\phpStudy\WWW\www.hansa.com.cn\system\database\drivers\mysql\mysql_driver.php:84 Stack trace: #0 C:\phpStudy\WWW\www.hansa.com.cn\system\database\DB_driver.php(117): CI_DB_mysql_driver->db_connect() #1 C:\phpStudy\WWW\www.hansa.com.cn\system\database\DB.php(148): CI_DB_driver->initialize() #2 C:\phpStudy\WWW\www.hansa.com.cn\system\core\Loader.php(346): DB(Array, NULL) #3 C:\phpStudy\WWW\www.hansa.com.cn\system\core\Loader.php(1171): CI_Loader->database() #4 C:\phpStudy\WWW\www.hansa.com.cn\system\core\Loader.php(152): CI_Loader->_ci_autoloader() #5 C:\phpStudy\WWW\www.hansa.com.cn\system\core\Controller.php(51): CI_Loader->initialize() #6 C:\phpStudy\WWW\www.hansa.com.cn\application\core\AP_Controller.php(9): CI_Controller->__construct() #7 C:\phpStudy\WWW\www.hansa.com.cn\application\controllers\home.php(6): AP_Controller->__construct() #8 C:\phpStudy\WWW\www.hansa.com.cn\system\core\CodeIgniter.php(308): Home->__construct() #9 C:\phpStudy\WWW\ in C:\phpStudy\WWW\www.hansa.com.cn\system\database\drivers\mysql\mysql_driver.php on line 84