pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
More clarification on createdb command
2+ messages / 1 participants
[nested] [flat]

* More clarification on createdb command
@ 2018-12-01 17:02  PG Doc comments form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: PG Doc comments form @ 2018-12-01 17:02 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: geetha021970@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/tutorial-createdb.html
Description:

When I first followed the command, I first couldn't understand which shell
to execute this in - the psql shell or the normal command line. Although a
small point, specifying this could make life easier. :)

Another thing I noticed is that when I followed this on my Windows 10, it
asks for a password. My laptop is just a stand-alone, and isn't connected to
any LAN. During the installation, the only password it asks for the postgres
superuser. When I try entering that password, I get an error - 
createdb: could not connect to database template1: FATAL:  password
authentication failed for user "HP", 
where the name of my laptop is HP.
To rectify this issue, I had to make a new user in the pgAdmin (at least, I
initially used pgAdmin, but later realized that it could be done using SQL
itself on the command prompt). I don't know any workaround for this issue,
but maybe specifying that could be more helpful for beginners like me ;)


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* More clarification on createdb command
@ 2018-12-01 17:04  PG Doc comments form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: PG Doc comments form @ 2018-12-01 17:04 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: geetha021970@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/tutorial-createdb.html
Description:

When I first followed the command, I first couldn't understand which shell
to execute this in - the psql shell or the normal command line. Although a
small point, specifying this could make life easier. :)

Another thing I noticed is that when I followed this on my Windows 10, it
asks for a password. My laptop is just a stand-alone, and isn't connected to
any LAN. During the installation, the only password it asks for the postgres
superuser. When I try entering that password, I get an error - 
createdb: could not connect to database template1: FATAL:  password
authentication failed for user "HP", 
where the name of my laptop is HP.
To rectify this issue, I had to make a new user in the pgAdmin (at least, I
initially used pgAdmin, but later realized that it could be done using SQL
itself on the command prompt). I don't know any workaround for this issue,
but maybe specifying that could be more helpful for beginners like me ;)


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-12-01 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-12-01 17:02 More clarification on createdb command PG Doc comments form <noreply@postgresql.org>
2018-12-01 17:04 More clarification on createdb command PG Doc comments form <noreply@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox