Difference between revisions of "Connect to PostgreSQL"
Jump to navigation
Jump to search
(Created page with " createdb your-db && psql your-db {{psql}}") |
|||
Line 1: | Line 1: | ||
− | + | * createdb your-db && psql your-db | |
+ | |||
+ | * <code>[[psql --host]]=mypostgresql.c6c8mwvfdgv0.us-west-2.rds.amazonaws.com --port=[[5432]] --username=awsuser --password [[--dbname]]=mypgdb</code> | ||
+ | |||
+ | == Related == | ||
+ | * [[Extensions]] | ||
{{psql}} | {{psql}} |
Revision as of 15:17, 19 December 2024
- createdb your-db && psql your-db
psql --host=mypostgresql.c6c8mwvfdgv0.us-west-2.rds.amazonaws.com --port=5432 --username=awsuser --password --dbname=mypgdb
Related
PostgreSQL: psql
, .psqlrc, .pgpass
, $HOME/.pg service.conf
, -U, -W, -d
, meta-commands: \du, \dg, \ddp, \dp, \list, \dn, \dt, \c, \l, \di, \q
, show users
, show
, su - postgres
, psql -c, \?, \connect, \conninfo
, --version, --help
, PL/pgSQL
Advertising: