Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/Access/AccessControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,6 @@ AuthResult AccessControl::authenticate(const Credentials & credentials, const Po

message << R"(
If you use ClickHouse Cloud, the password can be reset at https://clickhouse.cloud/
on the settings page for the corresponding service.
If you have installed ClickHouse and forgot password you can reset it in the configuration file.
The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml
and deleting this file will reset the password.
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5895,7 +5895,7 @@ This setting takes a ClickHouse version number as a string, like `22.3`, `22.8`.
Disabled by default.
:::note
In ClickHouse Cloud the compatibility setting must be set by ClickHouse Cloud support. Please [open a case](https://clickhouse.cloud/support) to have it set.
The compatibility setting can be overridden at the user, role, profile, query, or session level using standard ClickHouse setting mechanisms such as `SET compatibility = '22.3'` in a session or `SETTINGS compatibility = '22.3'` in a query.
:::
)", 0) \
\
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
1
1
< HTTP/1.1 403 Forbidden
If you use ClickHouse Cloud, the password can be reset at https://clickhouse.cloud/
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ ${CLICKHOUSE_CURL} -H 'Authorization: never' "$URL?query=SELECT%201"
# If the Authorization is set to "never", and the credentials are provided in URL parameters,
# the server will return 403 instead of 401 Unauthorized, so there will be no prompt in the browser.
URL="${CLICKHOUSE_PORT_HTTP_PROTO}://${CLICKHOUSE_HOST}:${CLICKHOUSE_PORT_HTTP}/?user=default&password=invalid_password"
${CLICKHOUSE_CURL} -H 'Authorization: never' -v "$URL?query=SELECT%201" 2>&1 | grep -P '403 Forbidden|ClickHouse Cloud'
${CLICKHOUSE_CURL} -H 'Authorization: never' -v "$URL?query=SELECT%201" 2>&1 | grep -P '403 Forbidden' | tr -d '\r'
Loading