http://www.infotech.vip/db-clickhouse.html https://www.jianshu.com/p/a9623ad8fd69 https://www.jianshu.com/p/5ee63674a798 https://gitbook.cn/books/5dc5c2e6573506442c3b30c2/index.html
启动clickhouse-client
root@ubuntu:~# clickhouse-client
ClickHouse client version 20.2.1.2183 (official build).
Connecting to localhost:9000 as user default.
Connected to ClickHouse server version 20.2.1 revision 54432.
localhost :)
查看数据库列表
查看数据库列表:SHOW DATABASES
localhost :) show databases;
SHOW DATABASES
┌─name────┐
│ default │
│ system │
│ test │
└─────────┘
3 rows in set. Elapsed: 0.008 sec.
localhost :)