Re: Authentification

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Authentification
Дата
Msg-id 20728.1036950556@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Authentification  (Thorsten Haude <postgresql@thorstenhau.de>)
Список pgsql-novice
Thorsten Haude <postgresql@thorstenhau.de> writes:
> create user inventuser with encrypted password 'secret';

> $connectString = "host=localhost dbname=inventory user=inventuser password=" . md5("secret");
> $dbh = pg_connect($connectString);

Not sure, but I think you should just say password=secret in the connect
parameters.  The user isn't supposed to have to do the md5 translation
for himself.

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Thorsten Haude
Дата:
Сообщение: Authentification
Следующее
От: Tim Wilson
Дата:
Сообщение: Best practice for altering a table