Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The mysql driver is not currently installed' in E:\appserv\www\zf-tutorial\library\Zend\Db\Adapter\Pdo\Abstract.php:104 Stack trace:
#0 E:\appserv\www\zf-tutorial\library\Zend\Db\Adapter\Abstract.php(367): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 E:\appserv\www\zf-tutorial\library\Zend\Db\Adapter\Pdo\Abstract.php(206): Zend_Db_Adapter_Abstract->query('DESCRIBE `album...', Array)
#2 E:\appserv\www\zf-tutorial\library\Zend\Db\Adapter\Pdo\Mysql.php(138): Zend_Db_Adapter_Pdo_Abstract->query('DESCRIBE `album...')
#3 E:\appserv\www\zf-tutorial\library\Zend\Db\Table\Abstract.php(595): Zend_Db_Adapter_Pdo_Mysql->describeTable('album', NULL)
#4 E:\appserv\www\zf-tutorial\library\Zend\Db\Table\Abstract.php(528): Zend_Db_Table_Abstract->_setupMetadata()
#5 E:\appserv\www\zf-tutorial\library\Zend\Db\Table\Abstract.php(264): Zend_Db_Table_Abstract->_setup()
#6 E:\appserv\www\zf-tutorial\application\controllers\IndexController.php(13): Zend_Db_Table_Abstract-> in E:\appserv\www\zf-tutorial\library\Zend\Db\Adapter\Pdo\Abstract.php on line 104
解决方法是在php.ini中将extension=php_pdo_mysql.dll这项扩展打开,就完成了,如果没有这项扩展,你可以自行添加。