//2. 建立连接:Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@10.248.13.5:2902:cmcc", "ngca","Cmcc_0111"); //报错在建立连接这一行 报错:java.sql.SQLException: Io 异常: Size Data Unit (SDU) mismatchat oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)at java.sql.DriverManager.getConnection(DriverManager.java:582)at java.sql.DriverManager.getConnection(DriverManager.java:185)at jdbc.TestRegister.main(TestRegister.java:23)
- 1 回答
- 0 关注
- 2229 浏览
添加回答
举报
0/150
提交
取消