Skip to content

Commit

Permalink
fix: psql connect error (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderli614 committed Oct 9, 2023
1 parent 61684d9 commit e32d7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/gtctl/cluster/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ func printTips(l logger.Logger, clusterName string, options *ClusterCliOptions)
if !options.BareMetal {
l.V(0).Infof("%s", fmt.Sprintf("%s kubectl port-forward svc/%s-frontend -n %s 4003:4003 > connections-pg.out &", logger.Bold("$"), clusterName, options.Namespace))
}
l.V(0).Infof("%s", fmt.Sprintf("%s psql -h 127.0.0.1 -p 4003", logger.Bold("$")))
l.V(0).Infof("%s", fmt.Sprintf("%s psql -h 127.0.0.1 -p 4003 -d public", logger.Bold("$")))
l.V(0).Infof("\nThank you for using %s! Check for more information on %s. 😊", logger.Bold("GreptimeDB"), logger.Bold("https://greptime.com"))
l.V(0).Infof("\n%s 🔑", logger.Bold("Invest in Data, Harvest over Time."))
}
Expand Down

0 comments on commit e32d7b0

Please sign in to comment.