Subject | Re: Embedded FB1.5 Doesn't Like "localhost". |
---|---|
Author | barfingdog_2004 |
Post date | 2004-04-16T20:14:39Z |
--- In firebird-support@yahoogroups.com, Milan Babuskov <albis@e...>
wrote:
That's what gave me this error:
----------
*** IBPP::Exception inside Database::Connect ***
IBPP Message : isc_attach_database failed
SQL Message : -904
Unsuccessful execution caused by an unavailable resource..
Engine Code : 335544375
Engine Message :
unavailable database
----------
What am I doing wrong?
I've changed nothing else in the code that works
for a client-server relationship.
Thanks
Larry
wrote:
> barfingdog_2004 wrote:Thanks Milan:
> > database_id = IBPP::DatabaseFactory(DB_SERVER_NAME,
> > database_path_and_name,
> > DB_USER_NAME,
> > DB_PASSWORD,
> > "", "",
> > "PAGE_SIZE 8192");
> >
> > database_id->Connect();
>
> > I'm sure I need a local connection to the database.
> > How do I do that?
>
> Set DB_SERVER_NAME to "".
>
> --
> Milan Babuskov
That's what gave me this error:
----------
*** IBPP::Exception inside Database::Connect ***
IBPP Message : isc_attach_database failed
SQL Message : -904
Unsuccessful execution caused by an unavailable resource..
Engine Code : 335544375
Engine Message :
unavailable database
----------
What am I doing wrong?
I've changed nothing else in the code that works
for a client-server relationship.
Thanks
Larry