What is the default username and password for PostgreSQL? -


i working on open source application has postgresql default dbms. when install on system, configuration postgresql gets installed it.

my problem getting access installed postgresql database. database gets created during installation named iviewdb.

i read @ many forums default super-user postgres when try access database using username through command-prompt, prompts me password don't have.

what wanted know in postgresql installation directory default username , password port number access database stored. have tried changing pg_hba.conf file, creates problem application , won't start then.

do have idea find password database? working on windows environment.

the password isn't stored in recoverable manner, , if change password, application may not able access database properly. may find password in application settings or docs, though.

if decide risk changing postgres user's password, stop application , postgres service, edit pg_hba.conf, add (or change if exists) line (if doesn't exist, add before other "host...." lines)

host       127.0.0.1/32   trust 

and restart postgresql service. should give access localhost, change postgres user's password, or add user permissions want. set pg_hba.conf file way , restart.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -