Fix connection string

This commit is contained in:
Dmitry Ivanov
2022-10-03 17:27:11 +03:00
parent f602e21aaf
commit 15425325c4

View File

@@ -2,6 +2,7 @@
import argparse
import json
import os
import subprocess
import sys
import textwrap
@@ -94,7 +95,7 @@ def main(args):
run_command(cmd)
print("* Opening psql session...")
cmd = ["psql", "host=127.0.0.1 port=55433 user=cloud_admin dbname=postgres"]
cmd = ["psql", f"host=127.0.0.1 port=55432 user={os.getlogin()} dbname=postgres"]
subprocess.call(cmd)