mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Update installation success message #30672
This commit is contained in:
parent
44684a8dff
commit
a4b653fdca
@ -809,6 +809,15 @@ int mainEntryClickHouseInstall(int argc, char ** argv)
|
||||
if (has_password_for_default_user)
|
||||
maybe_password = " --password";
|
||||
|
||||
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"
|
||||
@ -817,6 +826,7 @@ int mainEntryClickHouseInstall(int argc, char ** argv)
|
||||
" clickhouse-client{}\n\n",
|
||||
maybe_password);
|
||||
}
|
||||
}
|
||||
catch (const fs::filesystem_error &)
|
||||
{
|
||||
std::cerr << getCurrentExceptionMessage(false) << '\n';
|
||||
|
Loading…
Reference in New Issue
Block a user