我要通过jdbc连接远程informix数据库,请问远程的数据库应该如何设置? 程序报错INFORMIXSERVER has to be specified
我的程序报错:
打开数据库失败
java.sql.SQLException: INFORMIXSERVER has to be specified
at com.informix.util.IfxErrMsg.get
SQLException(IfxErrMsg.java:348)
------解决方案--------------------
貌似informixserver没有指定吧,如下
jdbc:informix-sqli://IBM-HENRY:1526/sample:informixserver=ol_henry;user=henry;password=happyday