Subject Re: [firebird-support] Firebbird 2.1.2 on a Mac (newbie)
Author Peter Lee
I wouldn't copy across your Windows fdb - it might be ok now as both
systems are Intel - but it'd be much better to gbak and then restore on
Mac. I'm pretty sure that the server is started automatically - but if
in doubt then restart. :-) Check that you have
'/Library/StartupItems/Firebird' first...

I just tried this command and it works fine here... FB Classic 2.1.2,
OSX 10.5:

./isql
localhost:/Library/Frameworks/Firebird.framework/Resources/examples/empbuild/employee.fdb
-user SYSDBA -password masterkey

I'm not sure what you mean by 'connect to my database (from a windows
system)'? The database has been transferred from your Windows box or
are you trying to connect to a database that's on your Mac box from Windows?

Also - you'll need to specify 'localhost' when using Classic unless
you're trying to get it running as embedded... which a whole other story!

Peter Lee

Martin Searancke wrote:
> Can anyone point me to some resources or documentation that is Mac specific for 2.1.2.
>
> Unfortunately I'm very new to the Mac (cant say I think much of it when you start to do anything remotely advanced) and I'm investigating porting my windows application over. Unfortunately I am stuck on step 1 - getting FB to work on the mac.
>
> I have installed the classic server and copied over my windows fdb file but all attempts to connect to it with isql have failed.
>
> I have tried to connect to the "employee.fdb" also but that too fails.
> The error I receive connecting to the sample database is:
>
> isql localhost:/Library/Frameworks/Firebird.framework/Resources/examples/empbuild/employee.fdb
> Statement failed, SQLCODE = -902
> Your user name and password are not defined. Ask your database administrator to setup a Firebird login.
>
> If I attempt to connect to my database (from a windows system) I get:
>
> isql ./Documents/ShowFiles/DEFAULTSHOW.FDB -user SYSDBA -password masterkey
> Statement failed, SQLCODE = -902
> cannot attach to password database
>
> Further to this problem: I cant see any sign of the FB server running in the process list. Dusted off my Unix knowledge and found my way to the "top" command. Does the install not set this up? Does it need to be running or do local connections work without it.
>
> All help much appreciated.
> Martin
>
>
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Yahoo! Groups Links
>
>
>
>
>
>

--
Peter Lee ptle@...
-----------------------------------------------------------------------
Rising Software Australia Pty. Ltd. http://www.risingsoftware.com/
Publishers of 'Auralia' - Ear Training and 'Musition' - Theory Training
Ph: +61 3 9481 3320 FAX: +61 3 9481 3380 USA Freecall: 1 888 667 7839