I have installed clickhouse as per the instructions here https://github.com/Altinity/clickhouse-rpm-install.
I have also enabled :: in /etc/clickhouse-server/config.xml.
It started fine as below:
sudo /etc/init.d/clickhouse-server restart Start clickhouse-server service: Path to data directory in /etc/clickhouse-server/config.xml: /var/lib/clickhouse/ DONE
But, when i start client it fails as below:
sudo clickhouse-client ClickHouse client version 1.1.54383. Connecting to localhost:9000. Code: 102. DB::NetException: Unexpected packet from server localhost:9000, ::1 (expected Hello or Exception, got Unknown packet)