Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

读取和写入clickhouse,配置文件中填了password项,但是某些情况下发送到数据库的连接信息中丢失了password值,进而报如下截图中的错 #276

Closed
wowiscrazy opened this issue Sep 21, 2020 · 2 comments

Comments

@wowiscrazy
Copy link

wowiscrazy commented Sep 21, 2020

image

@wowiscrazy wowiscrazy changed the title 读取和写入clickhouse,配置文件中填了password项,但是某些情况下发送到数据库的连接信息中不包含password值,进而报如下截图中的错 读取和写入clickhouse,配置文件中填了password项,但是某些情况下发送到数据库的连接信息中丢失了password值,进而报如下截图中的错 Sep 21, 2020
@lvyanquan
Copy link
Contributor

某些情况是指该问题不是必现的吗?
如果你已经下载了源码,可以在ClickhouseUtil.getConnection这个地方看下是否传入了password。

@wowiscrazy
Copy link
Author

某些情况是指该问题不是必现的吗?
如果你已经下载了源码,可以在ClickhouseUtil.getConnection这个地方看下是否传入了password。

下载的是1.8版本的源码,该版本下测试的时候该问题必现。ClickhouseUtil.getConnection此处传入了password值,但是发送到数据库的时候,password值丢失,为null。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants