clickhouse - ClickHouse 新手,无法创建本地主机
问题描述
我是 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.
有谁知道我应该怎么做?
解决方案
在这里找到密码:
打开终端并运行:
sudo nano /etc/clickhouse-server/users.d/default-password.xml
来源:https ://clickhouse.tech/docs/en/operations/configuration-files/
推荐阅读
- python-3.x - 在 jupyter notebook 中打开 .csv 文件时出现 dtype 错误
- python - 在 pyMC3 中创建确定性变量矩阵
- docker - 詹金斯在运行新容器时使用旧数据
- html - 使用宽度使两列相等
- java - 如何修复此错误:不兼容的类型:从 int 到 byte 的可能有损转换
- python - 'int' 和 'NoneType' 的实例之间不支持 '<'
- google-data-studio - 在 Google Data Studio 中将纪元时间格式化为小时分钟
- python - 如何更新 Flask-SQLAlchemy 关联表?
- r - 相交两个排序列表
- terraform - Terraform 兼容性错误 - 未使用 count.index