C:\>expExport: Release 8.1.7.0.0 - Production on 星期四 11月 13 18:17:21 2003(c) Copyright 2000 Oracle Corporation. All rights reserved.
用户名: eduman
口令: *******EXP-00056: ORACLE 错误 12560 出现
ORA-12560: TNS: 协议适配器错误
EXP-00000: 导出终止失败C:\>
________________________________________
整个过程如上。
用户名: eduman
口令: *******EXP-00056: ORACLE 错误 12560 出现
ORA-12560: TNS: 协议适配器错误
EXP-00000: 导出终止失败C:\>
________________________________________
整个过程如上。
解决方案 »
- oracle表中有DATE字段 plsql insert如何写,现在的情况报错
- ORA-03113: end-of-file on communication channel
- 请教:能否在SQL语句里自定义排序?
- 在线等,求一SQL..抽根烟回来结.
- 同样的生成XML的SQL语句在存储过程中报错
- 如何获得Table的分区名??希望知道的人说一下,在线等......
- 备份问题: 我在用exp 备份数据库里面的某个表时, 竟然返回的信息说: table does not exists , 但是此表又确实属于我当前登陆用户的表
- 怎样恢复数据......
- 如何移植数据库从sybase到oracle9i?
- 原先的程序用access 数据库,当中有一个表叫 user 现在移到 oracle中,这个表名字是不是有错误呀
- 请问Oracle 8.1.6典型安装完成后,还必须进行哪些设置和优化工作?
- 紧急!如何在WINDOWS2000上安装ORACLE73
Evaluate the contents of the trace file to diagnose the problem. See Also:
"Oracle Net Services Tracing Error Information"
{
....
}catch(SQLException e)
{
System.out.println(e.getMessage());
}查看错误具体说明!
{
public static void main(String argv[]) throws SQLException
{ /* 声明并初始化变量 */
String query = new String("SELECT id,name,score FROM student");
String name;
int id,score;
Connection conn=null; try{
Class.forName("oracle.jdbc.driver.OracleDriver"); }catch(Exception e){
System.out.println("Could not load drive:"+e);
System.exit(-1);
}
/*利用Thin驱动程序获取Oracle连接*/
conn=DriverManager.getConnection("jdbc:oracle:thin:@192.1.68.0.60:1521:orcl","eduman","123");
try {
Statement pstmt=conn.createStatement();
/* 执行SQL语句 */
ResultSet rset= pstmt.executeQuery(query);
/* 循环处理JDBC结果集的数据 */
while(rset.next()) {
id=rset.getInt(1);
name = rset.getString(2);
score=rset.getInt(3);
System.out.println("ID=" + id);
System.out.println("NAME=" + name);
System.out.println("SCORE=" + score);
System.out.println("---------------");
}
/* 关闭JDBC结果集 */
rset.close();
/* 关闭动态SQL语句 */
pstmt.close();
}
catch(SQLException e) {
System.out.println("出现SQL例外:" + e.getMessage());
}
conn.close();
}
}
ip地址写错了