Code: 516. DB::Exception: Received from localhost:9000. DB::Exception: default: Authentication faile
hadoop@dblab-VirtualBox:~$ clickhouse-clientClickHouse client version 21.6.6.51 (official build).Connecting to localhost:9000 as user default.Code: 516. DB::Exception: Received from localhost:9000. DB
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 :)
更多推荐
所有评论(0)