Subject | Re: [firebird-support] Firebird on mac |
---|---|
Author | Schwarze Consulting - Michael Schwarze |
Post date | 2015-03-24T19:48:59Z |
Hi Felipe,
I had the same issue with my first installation of firebird on Mac. Looks to me that you haven't added your user to the firebird user group; firebird seems to be quite strict in terms of security / access rights for its respective files. How to add your user depends on your OS X version but you will find plenty of stuff out there...the following worked for me (Yosemite):
dseditgroup -o edit -u XXX -p -a YYY -t user firebird
Whereby XXX is your computer's administrator and YYY is your user.
In general re. installations, etc. for firebird I would recommend the official documentation "Firebird Database Server on Mac OSX" [1]. It's pretty comprehensive, but I have to admit the figuring out the above mentioned user-related issue took me some while, too.
Cheers,
Michael
---
[1] http://www.firebirdsql.org/file/documentation/papers_presentations/html/paper-fb-macosx.html
I had the same issue with my first installation of firebird on Mac. Looks to me that you haven't added your user to the firebird user group; firebird seems to be quite strict in terms of security / access rights for its respective files. How to add your user depends on your OS X version but you will find plenty of stuff out there...the following worked for me (Yosemite):
dseditgroup -o edit -u XXX -p -a YYY -t user firebird
Whereby XXX is your computer's administrator and YYY is your user.
In general re. installations, etc. for firebird I would recommend the official documentation "Firebird Database Server on Mac OSX" [1]. It's pretty comprehensive, but I have to admit the figuring out the above mentioned user-related issue took me some while, too.
Cheers,
Michael
---
[1] http://www.firebirdsql.org/file/documentation/papers_presentations/html/paper-fb-macosx.html
> Am 24.03.2015 um 17:13 schrieb Felipe Mathais fmathais@... [firebird-support] <firebird-support@yahoogroups.com>:
>
> I installed firebird 2.5 on mac, and I can’t use commands gbak, gsec, or connect using isql.
> I have exported variable PATH.
> But to use gsec -user sysdba -password masterkey for exemple, I get this message:
> “cannot attach to password database
> unable to open database”
>
> What should I do?
>
> I don’t understand your directory structure too. On Linux, when I install Firebird, it creates a directory in /opt/firebird, and here /Library/Frameworks/Firebird.frameworks/, but have several directories with severals symbolics links. Can someone explain me?
>
> Thank you.
> Ass. Felipe Mathais
>
>