Home  >  Article  >  Backend Development  >  用wamp打开php工程项目无法连接数据库

用wamp打开php工程项目无法连接数据库

WBOY
WBOYOriginal
2016-06-23 14:02:02914browse

php 数据库

我刚用wamp来打开写好的php网站项目但是报错
这是咋回事,以前没怎么用过wamp,难道是代码有问题?

回复讨论(解决方案)

DB_driver.php 124行错误 找到这行看是什么错误 估计是数据库配置不正确

DB_driver.php 124行错误 找到这行看是什么错误 估计是数据库配置不正确
但是这个在我们公司的服务器上就没有出现错误,现在只是转移到我本人的机器上了,会不会是我的wamp里面有些配置没弄好?


DB_driver.php 124行错误 找到这行看是什么错误 估计是数据库配置不正确
但是这个在我们公司的服务器上就没有出现错误,现在只是转移到我本人的机器上了,会不会是我的wamp里面有些配置没弄好?
跟wamp没什么关系 是你程序的问题 你看下DB_driver.php 124行

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn