php 远程连接oracle 报TNS:listener does not currently know of service
程序员文章站
2022-05-15 18:28:13
...
我本地php连接远程oracle 数据库,我下载了 oracle的客户端instantclient-basic-nt-11.2.0.2.0,配置了环境变量,把开启了php_oci8和 php_oci8_11,重启了电脑然后用连接,报了下面的错误
Warning: ocilogon() [function.ocilogon]: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor in D:\WWW\php-interface\sqlserver.php on line 53
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
回复内容:
我本地php连接远程oracle 数据库,我下载了 oracle的客户端instantclient-basic-nt-11.2.0.2.0,配置了环境变量,把开启了php_oci8和 php_oci8_11,重启了电脑然后用连接,报了下面的错误
Warning: ocilogon() [function.ocilogon]: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor in D:\WWW\php-interface\sqlserver.php on line 53
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor