mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Update installation success message #30672
This commit is contained in:
parent
44684a8dff
commit
a4b653fdca
@ -809,13 +809,23 @@ int mainEntryClickHouseInstall(int argc, char ** argv)
|
||||
if (has_password_for_default_user)
|
||||
maybe_password = " --password";
|
||||
|
||||
fmt::print(
|
||||
if (fs::exists(pid_file)) {
|
||||
fmt::print(
|
||||
"\nClickHouse has been successfully installed.\n"
|
||||
"\nRestart clickhouse-server with:\n"
|
||||
" sudo clickhouse restart\n"
|
||||
"\nStart clickhouse-client with:\n"
|
||||
" clickhouse-client{}\n\n",
|
||||
maybe_password);
|
||||
} else {
|
||||
fmt::print(
|
||||
"\nClickHouse has been successfully installed.\n"
|
||||
"\nStart clickhouse-server with:\n"
|
||||
" sudo clickhouse start\n"
|
||||
"\nStart clickhouse-client with:\n"
|
||||
" clickhouse-client{}\n\n",
|
||||
maybe_password);
|
||||
}
|
||||
}
|
||||
catch (const fs::filesystem_error &)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user