Subject Re: [firebird-support] Unable to Connect to local server with firebird CS 1.5.2 on windows XP
Author Ivan Prenosil
>I try to launch gbak on the same machine where FB CS
> 1.5.2 is running, with the following command line:
>
> c:\database_dir\> gbak -b -v -t -user SYSDBA -password
> masterkey "c:\database_dir\DATABASE.GDB"
> DATABASE.GDB.back
>
> but I receive the following error message:
>
> gbak: ERROR : unavailable database
> gbak: Exiting before completion due to errors
>
> If I include the IP address of the (local) machine, as
> in :
>
> c:\database_dir\> gbak -b -v -t -user SYSDBA -password
> masterkey "127.0.0.1:c:\database_dir\DATABASE.GDB"
> DATABASE.GDB.back
>
> it magically works!
>
> Is there a way to execute the command WITHOUT
> specifying the IP address?

No. FB CS does not support local protocol, you have to specify
network connection, preferably

gbak -b -v -t -user SYSDBA -password masterkey "localhost:c:\database_dir\DATABASE.GDB" DATABASE.GDB.back

> I need this because I am
> migrating from FB1.0 to FB1.5 and I have many scripts
> currently in use in a production environment that
> don't have the IP Address.
> I've also found that with FB Super Server the above
> command works without the IPAddress...

Right. Install SuperServer, at least until you update your scripts.
(Do you really need FB CS?)
Or use embedded version, it supports local protocol (but not any network
protocol), but only one client simultaneously.

Ivan