pl sql 连接oracle问题?
初始化首次测试请使用用户名: scott, 口令: tiger
正在尝试使用以下用户 ID 连接:scott
测试没有成功。
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务
不知道怎么回事,求教大侠们!万分感激!
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务
1.
查看一下监听是否打开.
lsnrctl status
如果没有打开 lsnrctl start
2.
查看oracle服务是否打开
net start oracleserviceorcl
3.
tnsnames.ora 和 listener.ora 配置是否正确
lz 参考 看看
http://topic.csdn.net/u/20080410/11/7ddf3f2c-7706-4ba5-89bb-93b888c45b80.html
-
http://www.yangwen626.cn/post/3.html
相关问答:
private static final String URL = "jdbc:oracle:thin:@localhost:1521:orcl";
private static final String USERNAME = "sys";
private static final String PASSWORD = "s ......
我有一个表,结构是这样。
转出 单位 转入单位 笔数 金额
date(主) outid(主) inid(主) num amt
2009 1 2 1 500 为 1 单位 在2009� ......
在执行包的时候引用oracle spatial空间函数出错,出错情况如下
Errors in file
/user/oracle/app/oracle/admin/grid/udump/grid1_ora_143768.trc: ORA-29902:
error in executing ODCIIndexStart() routine ORA-0 ......
tab1 字段:billdate,goodsid,incount,inmoney,outcount,outmoney,endprice,endcount,endamt
tab2 字段:goodsid,goodskind(商品类型)
tab3 字段:goodskind(商品类型),kindname
结果:
得到商品类型在一段时间 ......