Advanced
Тема интерфейса

What Should I Do If the Connection to the ClickHouse Server Fails and Error Code 516 Is Reported?

Symptom

When the clickhouse client command is executed to connect to the ClickHouse server, the following error is reported:

ClickHouse exception, code: 516, host: 192.168.0.198, port: 8443; Code: 516, e.displayText() = DB::Exception: clickDevelopuser: Authentication failed: password is incorrect or there is no user with such name

Fault Locating

The username or password used for connecting the ClickHouse server is incorrect.

Procedure

Enter the correct username or password .