v.22.4Improvement

Add User, Password, Host, and Port Arguments to ClickHouse Diagnostics Tool

Add arguments --user, --password, --host, --port for clickhouse-diagnostics tool. #35422 (李扬).
Add support for specifying --user, --password, --host, and --port arguments to the clickhouse-diagnostics tool.

Why it matters

This feature allows users to provide authentication and connection parameters directly to the clickhouse-diagnostics tool, enabling diagnostics on remote or secured ClickHouse servers, thereby improving flexibility and usability.

How to use it

Run the clickhouse-diagnostics command with the new arguments, for example:
clickhouse-diagnostics --host <hostname> --port <port> --user <username> --password <password>