java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection可能问题之一
2014-04-07 19:26
666 查看
因为要做毕业设计,所以就给我的windows7 小系统安装了个10g的oracle数据库,安装上以后我的小电脑非常的慢,所以我把就OracleOradb10g_home2TNSListener,OracleJobSchedulerORCL,OracleDBConsoleorcl三个服务给关掉了,这样的话用命令行还是可以用数据库的,但是如果用jdbclpk连数据库的话就会报错:java.sql.SQLException: Io 异常: The Network Adapter could not establish
the connection,这时候把OracleOradb10g_home2TNSListener这个服务开起来就不会再出现这个问题了,不过出现这个问题的原因也可能是其它原因造成的,比如ip地址,端口号,或数据库的名字写错等,这个错误就是说不能连接数据库了,具体是什么问题就具体分析了
the connection,这时候把OracleOradb10g_home2TNSListener这个服务开起来就不会再出现这个问题了,不过出现这个问题的原因也可能是其它原因造成的,比如ip地址,端口号,或数据库的名字写错等,这个错误就是说不能连接数据库了,具体是什么问题就具体分析了
相关文章推荐
- Caused by: java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection解决方案
- (java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection)
- 异常java.sql.SQLException: Io exception:The Network Adapter could not establish connection
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection解决方案
- java.sql.SQLException: Io 异常:The Network Adapter could not establish the connect
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connec
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connec
- 关于java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- Java.Sql.Sqlexception: Io Exception: The Network Adapter Could Not Establish The Connection
- java.sql.SQLException: IO 错误: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection