DB
Choosing a Configuration Type
To specify the configuration type, select one of the tiles displayed on the page. The DB
tile is selected by default.
Once saved, the configuration type cannot be changed.
Entering Connection Information
Further configuration details are entered in the "Enter configuration information" section. Fields marked with a red asterisk are mandatory. If any field contains incorrect data, the configuration will not be saved, and an error message will appear next to the field with the issue. Follow these steps to input connection information:
- Enter the configuration name in the "Configuration Name" input field. Only Latin letters or numbers in CamelCase style are allowed.
- Then, select a JDBC driver in the "Upload Driver" field. If the required driver is not listed, you can upload your own by clicking the "Upload File" button below the input field. A modal window will open where you need to select a JDBC driver with a
.jar
extension. Other file types will not be accepted. - The "Driver Class Name" field is filled automatically. If the JDBC driver contains multiple classes, you can specify the required class. Only Latin letters or numbers are allowed in this field.
By default, the connection string field is auto-populated based on the JDBC driver class. For ClickHouse, the following classes are supported: cc.blynk.clickhouse.ClickHouseDriver
, com.clickhouse.jdbc.ClickHouseDriver
. If the driver uses different classes, the connection string will still be auto-filled, but you should verify the "Connection String" field for accuracy. Otherwise, switch to advanced mode and correct it manually.
- Enter the host in the "Host" field. Examples include
http://172.168.0.1
orhttps://yourhost
. - Enter the port in the "Port" field. Only numbers are allowed.
- If needed, you can specify the default database name in the "Default Database" field.
- If your connection requires SSL validation, enable the "SSL Validation" field. A warning about saving data in the keystore will appear, as shown in the illustration.