Help Center/ MapReduce Service/ FAQs/ Client Usage/ What Should I Do If the Connection to the ClickHouse Server Fails and Error Code 516 Is Reported?
Updated on 2024-08-16 GMT+08:00

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 . For details, see Using ClickHouse from Scratch.