ecpg: How to connect to host w. user:password?
Started by Larkover 24 years ago2 messagesgeneral
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?
Re: ecpg: How to connect to host w. user:password?
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;