]> begriffs open source - ai-pg/blob - full-docs/txt/client-authentication-problems.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / client-authentication-problems.txt
1
2 20.16. Authentication Problems #
3
4    Authentication failures and related problems generally manifest
5    themselves through error messages like the following:
6
7 FATAL:  no pg_hba.conf entry for host "123.123.123.123", user "andym", database
8 "testdb"
9
10    This is what you are most likely to get if you succeed in contacting
11    the server, but it does not want to talk to you. As the message
12    suggests, the server refused the connection request because it found no
13    matching entry in its pg_hba.conf configuration file.
14
15 FATAL:  password authentication failed for user "andym"
16
17    Messages like this indicate that you contacted the server, and it is
18    willing to talk to you, but not until you pass the authorization method
19    specified in the pg_hba.conf file. Check the password you are
20    providing, or check your Kerberos or ident software if the complaint
21    mentions one of those authentication types.
22
23 FATAL:  user "andym" does not exist
24
25    The indicated database user name was not found.
26
27 FATAL:  database "testdb" does not exist
28
29    The database you are trying to connect to does not exist. Note that if
30    you do not specify a database name, it defaults to the database user
31    name.
32
33 Tip
34
35    The server log might contain more information about an authentication
36    failure than is reported to the client. If you are confused about the
37    reason for a failure, check the server log.