'The mysql driver is not currently installed'错误!!

转载 2011年04月11日 10:17:00
转载自 vicbeijing
最终编辑 vicbeijing
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这项扩展打开,就完成了,如果没有这项扩展,你可以自行添加。在这里贴出来希望以后遇到这种情况的朋友少走一些弯路。

 

相关文章推荐

The mysql driver is not currently installed

 使用zendframework框架,连接mysql数据库,报错: Exception information:Message: The mysql driver is not currently...

'The mysql driver is not currently installed'错误!!

在使用zend framework时 配置了resources.db.adapter = PDO_MYSQL 发现数据库访问不到 出现 The mysql driver is not currentl...

ZF框架 操作数据库报“The mysql driver is not currently installed”错

在使用ZF框架的时候遇到“The mysql driver is not currently installed”这样的错误,提示:目前尚未安装MySQL驱动程序,原因是php.ini里的extens...

Zend Framework 连接 MSSQL数据库遇到的问题及解决过程

依据网站上查到的资料连接MSSQL数据库的步骤如下 注:zend framework通常需要php5.3以上的版本,但php5.3以上版本已经不具备对pdo_mssql数据库的支持,需要手动下载微软...
  • shumago
  • shumago
  • 2016年09月23日 15:10
  • 282

linux下切换用户出现This account is currently not available

今天在一台新服务器下切换用户的时候出现“This account is currently not available”错误 上网检索了一 下发现是用户的shell禁止登录的问题 解决办法: 比...

Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre7"

今天在Eclipse下使用Ant构建工程遇到 Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Progr...

This ZooKeeper instance is not currently serving requests

zookeeper集群启动失败这里不介绍安装步骤,下面是验证服务是否启动时的结果,主要异常是This ZooKeeper instance is not currently serving reque...
  • tszxlzc
  • tszxlzc
  • 2016年10月30日 14:10
  • 1582

服务器连接错误Host 'XXX' is not allowed to connect to this MySQL server如何解决

      Host 'Local' is not allowed to connect to this MySQL server 典型的远程权限问题。问题症结是MySQL 没有开放远程登录的权限。 ...

kettle入门(一) 之kettle连接oracle rac 报listener does not currently know of sid错误的解决

kettle连接oracle rac 报listener does not currently know of sid错误的解决

Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di

今天第二次遇到Redis “MISCONF Redis is configured to save RDB snapshots, but is currently not able to persis...
  • d34588
  • d34588
  • 2017年03月15日 21:38
  • 213
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:'The mysql driver is not currently installed'错误!!
举报原因:
原因补充:

(最多只允许输入30个字)