Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postgres Installation under Kubuntu

Status
Not open for further replies.

notebook20000

Vendor
Mar 9, 2006
1
DE
Hello,

i have some problems with my kubuntu and postgres installation.

i install postgres and creat a new user "ubu", a new database "ubu" and want to connect via

psql -h localhost ubu ubu

but now i asked to enter a password but i dont have any ;(

 
well look at your /etc/postgresql/8.1/main/pg_hba.conf

(if the version is different the location will be different)

and change the values bellow so that you trust localhost (you will have to /etc/init.d/postgresql reload)

or delete the user and create it with password - dropuser ubu; createuser -P ubu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top