hadoop@dblab-VirtualBox:~$ clickhouse-client
ClickHouse client version 21.6.6.51 (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. 

解决方法:

clickhouse-client --password

hadoop@dblab-VirtualBox:~$ clickhouse-client --password
ClickHouse client version 21.6.6.51 (official build).
Password for user (default): 
Connecting to localhost:9000 as user default.
Connected to ClickHouse server version 21.6.6 revision 54448.

dblab-VirtualBox :)

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐