v.25.6Improvement
Clickhouse/ch aliases will invoke clickhouse-client instead
clickhouse/chaliases will invokeclickhouse-clientinstead ofclickhouse-localif--hostor--portare specified. Continuation of #79422. Closes #65252. #81509 (Alexey Milovidov).
Why it matters
This change resolves confusion and improves usability by ensuring that users connecting to a remote ClickHouse server using--host or --port will correctly launch the clickhouse-client instead of clickhouse-local, which is intended for local queries only.How to use it
Use theclickhouse or ch aliases with the --host or --port options to connect to a remote ClickHouse server. The system will automatically invoke the proper clickhouse-client executable.