Обсуждение: Re: ecpg: How to connect to host w. user:password?

Поиск
Список
Период
Сортировка

Re: ecpg: How to connect to host w. user:password?

От
Lark
Дата:
Lark wrote:

> Hi!
> How can i connect to DB, that resides on another host with specific port
> as USER w. Password.
> EXEC SQL CONNECT TO ???? AS ??? Where to place Host:port, User:password?

Thank you for a help :)
I discovered it myself.

exec sql connect to testDB user andrei/mypassword;