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"" <12315_qin@163.com>
> wrote
......
With regards,
William ZHANG
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера