+ -
当前位置:首页 → 问答吧 → 连接oracle出现错误..求解决

连接oracle出现错误..求解决

时间:2011-12-21

来源:互联网

$this->myConnect = 'oracle://abc:[email protected]:1521/dba';
$m = M('member','AdvModel');
$m->addConnect($this->myConnect,1);
$m->switchConnect(1);

$list = $m->select();


最后在页面提示这个错误:

ORA-12154: TNS:could not resolve the connect identifier specified


查了一整天,都不知道什么问题引起的?帮忙一下,谢谢!

作者: iaqv   发布时间: 2011-12-21

没有人知道为什么吗?

作者: iaqv   发布时间: 2011-12-21