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

  1. root@ubuntu:~# clickhouse-client
  2. ClickHouse client version 20.2.1.2183 (official build).
  3. Connecting to localhost:9000 as user default.
  4. Connected to ClickHouse server version 20.2.1 revision 54432.
  5. localhost :)

查看数据库列表

查看数据库列表:SHOW DATABASES

  1. localhost :) show databases;
  2. SHOW DATABASES
  3. ┌─name────┐
  4. default
  5. system
  6. test
  7. └─────────┘
  8. 3 rows in set. Elapsed: 0.008 sec.
  9. localhost :)