xiangdong Huang created IOTDB-287: ------------------------------------- Summary: JDBC URL do not need to have a "/" at the end of the tail. Key: IOTDB-287 URL: https://issues.apache.org/jira/browse/IOTDB-287 Project: Apache IoTDB Issue Type: Wish Reporter: xiangdong Huang
Hi, when I use IoTDB jdbc, I find the jdbc url is limited as: jdbc:iotdb://ip:prot/. If a user write a url like jdbc:iotdb://ip:port, there will be an exception like: Exception in thread "main" org.apache.iotdb.jdbc.IoTDBURLException: Error url format, url should be jdbc:iotdb://ip:port/Exception in thread "main" org.apache.iotdb.jdbc.IoTDBURLException: Error url format, url should be jdbc:iotdb://ip:port/ at org.apache.iotdb.jdbc.Utils.parseUrl(Utils.java:60) at org.apache.iotdb.jdbc.IoTDBConnection.<init>(IoTDBConnection.java:74) at org.apache.iotdb.jdbc.IoTDBDriver.connect(IoTDBDriver.java:63) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:247) at org.apache.plc4x.java.examples.integration.iotdb.PlcLogger.main(PlcLogger.java:55) for a URL, there is no need to add the last "/" character... I mean, ending with "/" or not, either is ok. -- This message was sent by Atlassian Jira (v8.3.4#803005)