Subject Re: unavaliable database
Author grndeveloper
--- In firebird-support@yahoogroups.com, Uwe Grauer
<mailinglists@o...> wrote:
> developer wrote:
>
> > Hello,
> >
> > I've just installed Firebird 1.5.2 in a windowns environement
> > (Windows XP SP2 and Windows 2003). I have the problem in both
> > installations.
> >
> > When I try to connect to the database from a remote pc (with
> > IBexpert or our own application) everything is fine, but when I try to
> > do any of the following comands from the local server (isql, gsec,
gbak)
> > I get always the same error message : unavailable database.
> >
> > Any ideas?
> >
> > Thanks.


>
> Wrong syntax used?

The syntax is correct. Let me show you an example:

C:\Archivos de programa\Firebird\bin>isql -user sysdba -password
<mypassword>
Use CONNECT or CREATE DATABASE to specify a database
SQL> connect 'c:\temp\scg2.ibp';
Statement failed, SQLCODE = -904
unavailable database

I get the same error whatever database file I try.

> What about connecting with IBExpert from the local machine?

There is something strange with it. If I register a database as remote
specifying my IP it works allright, but if I register my database as
local specifying only the path to the database file it doesn't works.


> How did you try to run the commandline tools?

From the ($Firebird_home)\bin as the example shown in your first question.

> Wrong connection string?

I dont't thing so.

>
> Uwe