On this page

Show all

Establishing a Connection

Updated on 2022-09-14 GMT+08:00

During connection creation, the user and password configured in Table 1 are used as authentication credentials. ClickHouse performs security authentication on the server with the user and password.

ClickHouseDataSource clickHouseDataSource =new ClickHouseDataSource(JDBC_PREFIX + serverList.get(tries - 1), clickHouseProperties);
connection = clickHouseDataSource.getConnection(user, password);
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback