Subject | Re: [firebird-support] Re: Embedded FB1.5 Doesn't Like "localhost". |
---|---|
Author | Elmar Haneke |
Post date | 2004-04-17T11:51:23Z |
> database_id = IBPP::DatabaseFactory(DB_SERVER_NAME,Such an definition needs some correction inside to be used with local
> database_path_and_name,
> DB_USER_NAME,
> DB_PASSWORD,
> "", "",
> "PAGE_SIZE 8192");
connections. The FB-Api expects Server-Name and database-Path to be in
a single string with an colon in between. If the server-name is left
out, the colon has to be ommitted to get an correct connection string
for local connection.
You should have a look at the source of your IBPP near to
"isc_attach_database" and check what is passed as third parameter to
isc_attach_database. You either will have to modify your source or to
use some "Beta" code which does contain the relevant fix.
Elmar