Subject | Re: GFIX fails to output in my app but outputs nicely in CMD screen |
---|---|
Author | |
Post date | 2015-03-20T15:34:39Z |
1. Your sampe:
\Firebird-2.5.3.26780-0_Win32>bin\gfix -user foo -pa foo -shut single -force 0
localhost:bar.fdb > Test.txt 2> error.txt
\Firebird-2.5.3.26780-0_Win32>type Test.txt
\Firebird-2.5.3.26780-0_Win32>type error.txt
Your user name and password are not defined. Ask your database administrator to set up a Firebird login
2. Another attempt, with contents in both files:
\Firebird-2.5.3.26780-0_Win32>bin\gfix -z -user foo -pa foo -shut single -force
0 localhost:bar.fdb > Test.txt 2> error.txt
\Firebird-2.5.3.26780-0_Win32>type Test.txt
gfix version WI-V2.5.3.26780 Firebird 2.5
\Firebird-2.5.3.26780-0_Win32>type error.txt
Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
What i doing wrong ?
Vlad
PS Same results at Win7 and at Win2003
\Firebird-2.5.3.26780-0_Win32>bin\gfix -user foo -pa foo -shut single -force 0
localhost:bar.fdb > Test.txt 2> error.txt
\Firebird-2.5.3.26780-0_Win32>type Test.txt
\Firebird-2.5.3.26780-0_Win32>type error.txt
Your user name and password are not defined. Ask your database administrator to set up a Firebird login
2. Another attempt, with contents in both files:
\Firebird-2.5.3.26780-0_Win32>bin\gfix -z -user foo -pa foo -shut single -force
0 localhost:bar.fdb > Test.txt 2> error.txt
\Firebird-2.5.3.26780-0_Win32>type Test.txt
gfix version WI-V2.5.3.26780 Firebird 2.5
\Firebird-2.5.3.26780-0_Win32>type error.txt
Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
What i doing wrong ?
Vlad
PS Same results at Win7 and at Win2003