clickhouse新手,无法创建本地主机

sf6xfgos  于 2021-07-15  发布在  ClickHouse
关注(0)|答案(1)|浏览(381)

我对clickhouse还不熟悉,正试着开始。我已经在我的计算机(ubuntu 16.04)上安装了使用它所需的所有软件包,但是当我使用clickhouse client命令时,我得到了以下信息:

ClickHouse client version 20.3.4.10 (official build).
Connecting to localhost:9000 as user default.
Code: 516. DB::Exception: Received from localhost:9000. DB::Exception: default: Authentication failed: password is incorrect or there is no user with such name.

有人知道我该怎么做吗?

7gcisfzg

7gcisfzg1#

请在此处查找密码:
打开终端并运行:

sudo nano /etc/clickhouse-server/users.d/default-password.xml

资料来源:https://clickhouse.tech/docs/en/operations/configuration-files/

相关问题