0

我正在使用 Ruby API oci8 连接到远程 Oracle DB,得到 ORA 12514。

我的操作系统是 linux,奇怪的是当我这样做时:

tnsping <hostname:port>

我得到:

TNS Ping Utility for Linux: Version 10.2.0.2.0 Production on 22-JUL-2017 14:46:28

Copyright (c) 1997, 2005 Oracle Corporation.  All rights reserved.

Used parameter files:

Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION = (CONNECTDATA = (SERVICE_NAME= my-orasvr.db)) (ADDRESS= (PROTOCOL =TCP)(HOST = 10.15.222.44)(PORT = 1521))) 
OK (0 msec)

“使用的参数文件”是空的,不确定是否重要。

没有任何线索,任何帮助表示感谢~!

4

0 回答 0