You'd better use plain text messages in newsgroups. And you should use English.
Here is the document http://www.postgresql.org/docs/8.1/interactive/client-authentication.html. You can try with the lines in "Example 20-1. Example pg_hba.conf entries". (Your pg_hba.conf is not correct.) Steps: 1. Fix your pg_hba.conf according to the document mentioned above. 2. Use psql to test if you can connect to the database server. If not, goto step 1, else goto step 3. 3. Use your application to run tests. > ""qinyan"" <[EMAIL PROTECTED]> > wrote ...... With regards, William ZHANG ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly