Difference between revisions of "Connect to PostgreSQL"

From wikieduonline
Jump to navigation Jump to search
(Created page with " createdb your-db && psql your-db {{psql}}")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  
  
createdb your-db && psql your-db
+
* 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 ==
 +
* [[PostgreSQL extensions]]
  
  
 
{{psql}}
 
{{psql}}

Latest 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[edit]


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: