Mar 7, 2012

PostGres username/pass?


Hi I just downloaded postgres and created a database with some tables. Problem is it never asked for username/password so the username is postgres by default I think.

What’s the default pass? If not, how can I change the user to a new one with a new password.
ISSUE: I use windows.

P.S: I need it to connect to database from java with jdbc.

Asked by Fofole


Here’s a page on changing a lost password:

Google postgresql rather than just postgres or postgres sql to find more relevant stuff.

It’s been a while since I used postgresql, but still see plenty of links when I Google confirming that postgresql starts without a default password (goggled postgresql default password).

Answered by user81445

Related posts:

  1. What’s the default superuser username/password for postgres after a new install?
  2. Cannot change password for user postgres in postgresql
  3. Multiple instances of Postgres after Ubuntu upgrade
  4. Lost PostgreSQL Superuser Username and Password
  5. Unable to setup postgres on ubuntu (8.4 on 9.10)

Leave a comment