Randell's Tech Blog |
| Posted: 13 Nov 2009 01:20 AM PST This is just another one of my notes. I often encounter these errors after a fresh install of Fedora. After executing psql -U postgresand getting this message:
Initialize the database service postgresql initdb Start the PostgreSQL service /etc/init.d/postgresql start Then, if I get this message: psql: FATAL: Ident authentication failed for user "postgres" it means I need to edit the last few lines of # TYPE DATABASE USER CIDR-ADDRESS METHOD # "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 127.0.0.1/32 ident sameuser # IPv6 local connections: host all all ::1/128 ident sameuser The change is with the line containing the Then restart the PostgreSQL service: /etc/init.d/postgresql restart Related posts: Tags: PostgreSQL |
| You are subscribed to email updates from Randell's Dev Blog To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google Inc., 20 West Kinzie, Chicago IL USA 60610 | |

0 comments:
Post a Comment