- Install unixodbc >= 2.3.0
sudo apt install unixodbc-dev
- At the root of source directory:
mkdir -p build; cd build && cmake .. && make -j $(nproc || sysctl -n hw.ncpu || echo 2)
- clickhouse-odbc.so will be at
build/driver/clickhouse-odbc.so
vim ~/.odbc.ini:
[ClickHouse]
Driver = $(PATH_OF_CLICKHOUSE_ODBC_SO)
Description = ClickHouse driver
DATABASE = default
SERVER = localhost
PORT = 8123
FRAMED = 0
Run isql -v ClickHouse