java 远程连接access数据库java.rmi.ConnectException: Connection refused to host
Class.forName("org.objectweb.rmijdbc.Driver").newInstance();Stringurl="jdbc:rmi://172...
Class.forName("org.objectweb.rmijdbc.Driver").newInstance(); String url = "jdbc:rmi://172.31.90.11/jdbc:odbc:test_db"; Properties prop = new Properties(); prop.put("charSet", "gbk"); System.out.println("4444"); Connection con = DriverManager.getConnection(url,prop);
Class.forName("org.objectweb.rmijdbc.Driver").newInstance(); String url = "jdbc:rmi://172.31.90.11/jdbc:odbc:test_db"; Properties prop = new Properties(); prop.put("charSet", "gbk"); System.out.println("4444"); Connection con = DriverManager.getConnection(url,prop); 展开
Class.forName("org.objectweb.rmijdbc.Driver").newInstance(); String url = "jdbc:rmi://172.31.90.11/jdbc:odbc:test_db"; Properties prop = new Properties(); prop.put("charSet", "gbk"); System.out.println("4444"); Connection con = DriverManager.getConnection(url,prop); 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询