developer suite链接到oracle服务器
Developer Suite连接数据库的问题,劳驾高手指点!
电脑里面同时装了OraHome92和DevSuiteHome2,前者的sql*plus能访问,后者的则不行。输入scott/tiger登陆后者时,我输入了"主机字符串"号以后,报错:
ORA-12154: TNS:无法解析指定的连接标识符
******在网上找了很长时间都找不到合适的对策,其中有人建议:
1.打开OC4J listner, 然后在dos命令中输入'lsnrctl start listener',报错如下:
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
启动tnslsnr:请稍候...
Service OracleOraHome92TNSListener already running.
TNS-12560: TNS: 协议适配器错误
TNS-00530: 协议适配器错误
32-bit Windows Error: 1056: Unknown error
***********************************************************************
2.国外网站上人家的建议
ORA-12154: TNS:could not resolve the connect identifier specified
Cause: A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
Action: - If you are using local naming (TNSNAMES.ORA file):
- Make sure that "TNSNAMES" is listed as one
相关问答:
我对SQL SERVER和ACCESS比较熟,所以数据库的通用基础东西可以说都掌握的差不多了,我现在想要的就是以上两数据库的独特之处的介绍和应用介绍。
另外书最好对应最新版本 oracle是11g吧 10的也行;mysql是5.1吧
谢 ......
oracle连接啥这么复杂啊.
oracle 10g
用ps/sql dev怎么也连不上.
用sqlplus可以登陆.net manager之前测试连接了成功的.现在搞得也连接不了.
listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
......
各大老师好,请教一个问题.
我设置了一个oracle字段,varchar(3000),然后插入一条数据长度才1000,就报错了.如:net.sf.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
Caused ......
大家好,我现在把oracle服务器上面的原始文件,下载到本机了.我想在本机访问数据库怎么设置啊.是不是类似可以建立一个什么虚拟服务器来实现.请大家出出主意
引用
大家好,我现在把oracle服务器上面 ......
我用的是NT系统,当我用记事本查看控制问件时,总是一大堆乱码,我该怎样查询并改变控制文件里的内容呢?
2进制 用记事本打开当然是乱码咯
那用什么打开呢?又怎样打开呢
?
控制文件是二进制文件!
一般 ......