Unexpected driver error occurred while connecting to the database when dbeaver is used to connect to the Clickhouse;
First:
The probability is because the Clickhouse configuration file/preprocessed_configs/config.xml file
<listen_host>::</listen_host>
In the annotation state, unlock the annotation.
Second:
In my personal case, I started the clikehouse image with the docker container
Before starting the container:
docker run -d --name ck-server --network=ck_net --ulimit nofile=262144:262144 --volume=$HOME/some_clickhouse_database:/var/lib/clickhouse yandex/clickhouse-server
Replace with:
docker run -d --name ck-server --ulimit nofile=262144:262144 -p 8123:8123 -p 9000:9000 -p 9009:9009 --volume=$HOME/Documents/ck2_database:/var/lib/clickhouse yandex/clickhouse-server
The test connection is successful.