Subject Re: [IBO] Creating a database via it's alias
Author Helen Borrie
At 11:56 PM 8/03/2006, you wrote:
> > But how is your parsing producing the double slashes?
> > > sasy that "//aliasdb" does not exists.
> >
> > TIB_Connection is not doing that.
>
>Hmm... I've asked the customer about the protocol. I kinda
>figured IBO would "just" be passing this over.

FWIW, I just created an alias for a subdir that doesn't exit. The
name of the server is 'mini', the alias is 'shudder'. I tried to
create the database in this non-existent location
mini:shudder and I got this:

ISC ERROR CODE:335544344

ISC ERROR MESSAGE:
I/O error for file "shudder"
Error while trying to open file
No such file or directory

So I change the alias 'shudder' so it points to a directory that
exists, but the firebird user:group has no privs to it, and I get
this for mini:shudder --

ISC ERROR CODE:335544344

ISC ERROR MESSAGE:
I/O error for file "/data/killme/brrr.fdb"
Error while trying to create file
Permission denied


>And given that I create the full string that's being used for
>CREATE DATABASE, this should be ok as IBO doesn't
>do anything here... I thought I was using the CreateDatabase
>method before ;-)
>
>Here's a screenshots of the dialog:
>http://www.upscene.com/documentation/dbw/fb_em_createadatabase.htm
>
>As you can see, it holds a "protocol" box and a filename
>box. So the server name should never be entered.

Haven't you got a Linux server you can test it on?

Helen