Subject Re: [ib-support] Interbase single user
Author Helen Borrie
At 04:29 PM 10-08-03 +0700, you wrote:
>I'm using D5 and Interbase 5.6.
>i want shutdown the database to single user mode, without server manager.
>but, make command in delphi programming.
>
>Could somebody help me out?

There is no "single user mode". If you have the database server (ibserver.exe) or ibguardian running on the same machine as your application, you can connect locally, i.e. not through a server interface. In 5.6 this isn't intended for deployment so you will need to purchase licensing once your app moves out of your development environment.

To connect locally, just use the physical (not mapped) path to the database file, e.g.

c:\databases\MyDB.gdb

Are you using the BDE for connection? If so, the best thing to do is to set up an InterBase driver alias for this path in the BDE Administrator program. This way, if the database is moved somewhere else, you only have to edit the alias, not recompile your application.

hth
Helen

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________