当前位置:Gxlcms > PHP教程 > pdooracle11gExpressEdition,该如何解决

pdooracle11gExpressEdition,该如何解决

时间:2021-07-01 10:21:17 帮助过:16人阅读

pdo oracle11g Express Edition
这是phpinfo()输出信息:


oracle
Oracle Supportenabled Extension Version 0.1.0-dev
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.6 2008-01-28

Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000

PDO
PDO support enabled
PDO drivers sqlite, mysql, oci, sqlite2

pdo_mysql
PDO Driver for MySQL, client library version 5.0.51a

PDO_OCI
PDO Driver for OCI 8 and later enabled


可是就是连接不上:

Connection failed: SQLSTATE[HY000]: pdo_oci_handle_factory: ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务 (ext\pdo_oci\oci_driver.c:581)

求解!!!!


------解决方案--------------------
你至少需要给出 php 的相关代码

人气教程排行