Run CMD.
Posisi prompt:
C:/Program Files/PDDIKTI/pgsql>bin
Dalam website postgresguide.com/utilities/pgql.html
Posisi prompt:
C:/Program Files/PDDIKTI/pgsql>bin
Dalam website postgresguide.com/utilities/pgql.html
- -h the host to connect to
- -U the user to connect with
- -p the port to connect to (default is 5432)psql -h localhost -U username databasename
Full string and let psql parse it:
psql "dbname=dbhere host=hosthere user=userhere password=pwhere port=5432 sslmode=require"
C:/Program Files/PDDIKTI/pgsql>bin>psql -p 54321 -h 127.0.0.1 -U postgres -d postgres
posrgres==>
posrgres==>
Comments
Post a Comment