>Make sure you have these lines in pg_hba.conf:

 > host    all         all         127.0.0.1/32          password
 > host    all         all         ::1/128               password


thank you very much  for help, with this change I can resolved a
problem

1- after any thing we must change in the file "/var/lib/postgresql/
data/pg_hba.conf"
"ident sameuser" is remplaced by "trust".

# "local" is for Unix domain socket connections only
local   all         all                               ident sameuser
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
# IPv6 local connections:
host    all         all         ::1/128               trust

2- after start postgres and create a password
su - postgres
psql -d template1 -c "ALTER USER postgres WITH PASSWORD 'new
password'"
exit

3 - in the file " pg_hba.conf " remplace "trust" by  "password".


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to