mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
33 lines
1.5 KiB
XML
33 lines
1.5 KiB
XML
<!-- Config set into /etc/clickhouse-client/. It's used if no other configs are found. -->
|
|
<config>
|
|
<openSSL>
|
|
<client> <!-- Used for connection to server's secure tcp port -->
|
|
<loadDefaultCAFile>true</loadDefaultCAFile>
|
|
<cacheSessions>true</cacheSessions>
|
|
<disableProtocols>sslv2,sslv3</disableProtocols>
|
|
<preferServerCiphers>true</preferServerCiphers>
|
|
<!-- Use for self-signed: <verificationMode>none</verificationMode> -->
|
|
<invalidCertificateHandler>
|
|
<!-- Use for self-signed: <name>AcceptCertificateHandler</name> -->
|
|
<name>RejectCertificateHandler</name>
|
|
</invalidCertificateHandler>
|
|
</client>
|
|
</openSSL>
|
|
<!--
|
|
It's a custom prompt settings for the clickhouse-client
|
|
Possible macros:
|
|
{host}
|
|
{port}
|
|
{user}
|
|
{database}
|
|
{display_name}
|
|
Terminal colors: https://misc.flogisoft.com/bash/tip_colors_and_formatting
|
|
See also: https://wiki.hackzine.org/development/misc/readline-color-prompt.html
|
|
-->
|
|
<prompt_by_server_display_name>
|
|
<default>{display_name} :) </default>
|
|
<test>{display_name} \x01\e[1;32m\x02:)\x01\e[0m\x02 </test> <!-- if it matched to the substring "test" in the server display name - -->
|
|
<production>{display_name} \x01\e[1;31m\x02:)\x01\e[0m\x02 </production> <!-- if it matched to the substring "production" in the server display name -->
|
|
</prompt_by_server_display_name>
|
|
</config>
|