ERROR:ORA-12504:TNS:监听程序在 CONNECT_DATA 中未获得 SERVICE_NAME使用本地的SQLPlus连接服务器上的Oracle数据库,系统先提示:ORA-12504:TNS:监听程序在 CONNECT_DATA 中未获得 SERVICE_NAME再次输入用户名密码系

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 04:29:55

ERROR:ORA-12504:TNS:监听程序在 CONNECT_DATA 中未获得 SERVICE_NAME使用本地的SQLPlus连接服务器上的Oracle数据库,系统先提示:ORA-12504:TNS:监听程序在 CONNECT_DATA 中未获得 SERVICE_NAME再次输入用户名密码系
ERROR:ORA-12504:TNS:监听程序在 CONNECT_DATA 中未获得 SERVICE_NAME
使用本地的SQLPlus连接服务器上的Oracle数据库,系统先提示:
ORA-12504:TNS:监听程序在 CONNECT_DATA 中未获得 SERVICE_NAME
再次输入用户名密码系统又提示:
ORA-12560:TNS:协议适配器错误.如图所示:



服务器上的Oracle数据库的配置文件内容如下:
#######  listener.ora 配置文件
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
  )


LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.55)(PORT = 1521))
    )
  )


ADR_BASE_LISTENER = C:\app\Administrator


#### tnsnames.ora 配置文件内容
ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )


ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.55)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )


### sqlnet.ora 配置文件内容
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES,EZCONNECT)

ERROR:ORA-12504:TNS:监听程序在 CONNECT_DATA 中未获得 SERVICE_NAME使用本地的SQLPlus连接服务器上的Oracle数据库,系统先提示:ORA-12504:TNS:监听程序在 CONNECT_DATA 中未获得 SERVICE_NAME再次输入用户名密码系
你连接数据库使用的TNS连接串有问题哦.
试试: sqlplus system/Oracledb@ORCL

ERROR:ORA-12504:TNS:监听程序在 CONNECT_DATA 中未获得 SERVICE_NAME使用本地的SQLPlus连接服务器上的Oracle数据库,系统先提示:ORA-12504:TNS:监听程序在 CONNECT_DATA 中未获得 SERVICE_NAME再次输入用户名密码系 java.sql.SQLException:Listener refused the connection with the following error:ORA-12505,TNS:lisjava.sql.SQLException:Listener refused the connection with the following error:ORA-12505,TNS:listener does not currently know of SID given in connect desc java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:服务里面的OracleServiceORCL和OracleOraDb11g_home1TNSListener都打开了,LISTENER.ORA下面的(HOST=zhangyang)也改成计算机名了,没用loc 具体信息如下:java.sql.SQLException:Listener refused the connection with the following error:ORA—12505,TNS:Listener dose not currentlly kown of SID given in connect descriptor the connection description used by client was 127.0.0.1:1521:yx 打不开nc,提示信息是java.sql.SQLException:Listener refused the connection wit我安装的是oracle数据库。具体的提示信息如下:java.sql.SQLException:Listener refused the connection with the following error:ORA—12505,TNS:List ORA-12514:TNS:listener does not currently know of service requested in connect descriptor ORA-12505,TNS:listener does not currently know of SID given in connect descriptor怎么解决?求大师 myauthuser:Listener refused the connection with the following error:ORA-125 Myeclipse开发:ORA-12505,TNS:listener does not currently know of SID given in connect descriptor.开发环境:Myeclipse 6.5,Tomcat 5.5,oracle 10g,数据库服务器在IP为192.168.10.10的机子上,用户为:username.密码是:password,数 意大利语ora ma minu 欧美歌手rita ora外号? tnsnames.ora是什么文件, oracle数据库中ORA-28000: the account is locked问题我用sqlplus连接数据库,弹出类似dos操作系统的界面(这时已有error:ORA-28000: the account is locked),可以输入用户名,但是输入密码时光标没有反应,按网 SQL的GROUP BY错误SELECT SUM(ADMIN_ENTERED)FROM STATEGROUP BY YEAR_ENTEREDHAVING COUNT(YEAR_ENYERED)=MAX(COUNT(YEAR_ENTERED))系统提示::ERROR at line 4:ORA-00935:group function is nested too deeply 这是表格:CREATE TABLE STATE(STATE_NAM oracle invalid characterSQL> insert into dept2 (员工号,雇员号,住址)3 values(01,a,军工1);然后就出现 (员工号,雇员号,住址)*ERROR at line 2:ORA-00911:invalid character 借助sqlplus如何查找 spfile.ora,listener.ora ,tnsnames.ora,以及listener.log 的所在位置 Da ora in poi,voi tutti,ti Oracle错误 ORA-12560如何解决