English > Support

Passing user credentials to Firebird server

(1/1)

Chris64:

Hi Nostra,

as far as I can see, PVD does not make any use of the "ISC_USER/ISC_PASSWORD" environment variables, which
would allow seamless connection from PVD to a FB server.

Is such feature planned?

TIA Chris

nostra:
Actually, it seems like Firebird should pick those values by itself. I will check if it is smth easy I can do to make it do so,

Chris64:

--- Quote from: nostra on November 11, 2013, 09:16:50 pm ---Actually, it seems like Firebird should pick those values by itself. I will check if it is smth easy I can do to make it do so,

--- End quote ---

I read about this too that fbclient should get it.
But it looks like it doesn't ... I already tried this to no avail. :-(


--- Code: ---@echo off
SET PATH=C:\Program Files\PVD;%PATH%
SET ISC_USER=xxxxxxxx
SET ISC_PASSWORD=yyyyyyyy
start viddb.exe
# OR (alternatively)
viddb.exe
--- End code ---

will not give me the expected behaviour from a batch.

Even setting the variables system wide would allow the cmd line tools
of Firebird (i.e. gbak) to work from a cmd line (without user/pass), while
PVD presents me a login prompt for the user/pass credentials on each
new start.

So thx for looking into it!

EDIT:
Forgot to mention that even "Process Hacker" shows the variables
in the process' environment of viddb.exe when started from the batch.

Navigation

[0] Message Index

Go to full version