Subject | Re: [firebird-support] how to run embedded firebird in a CD in readonly mode. |
---|---|
Author | Helen Borrie |
Post date | 2004-02-11T08:27:14Z |
At 06:52 AM 11/02/2004 +0000, you wrote:
You actually have to make it a read-only database *before* you copy it to
the CD.
Either
restore it from a backup with the -mode read_only switch
or
use gfix:
gfix -mode read_only /path/to/your/database
heLen
>I want to use embedded firebird as the database in my application,Yes.
>but because on the CD the file is always set to readonly, and when I
>try to connect to the database via jdbc, the system say
>Resource Exception. no permission for read-write access to database
>Reason: no permission for read-write access to database
>Error Code: 335544352
>SQL State: HY000
>does any one know, how to use the database in readonly mode?
You actually have to make it a read-only database *before* you copy it to
the CD.
Either
restore it from a backup with the -mode read_only switch
or
use gfix:
gfix -mode read_only /path/to/your/database
heLen
>