Subject Re: [firebird-support] Failure to connect on Mac
Author Mark Rotteveel
On 29-5-2015 16:32, johnpayton759@... [firebird-support] wrote:
> With help I have now got as far as SQL login but seem to be unable to
> connect to the sample database. Keep getting connection failures.Anyone
> help please?
>
>
> Johns-iMac:~ johnpayton$ export
> FIREBIRD_HOME=/Library/Frameworks/Firebird.framework/Resources
>
> Johns-iMac:~ johnpayton$ export PATH=$PATH:$FIREBIRD_HOME/bin
>
> Johns-iMac:~ johnpayton$ isql
>
> Use CONNECT or CREATE DATABASE to specify a database
>
> SQL>isql localhost:/library/Frameworks/Firebird.fram
> ework/Resources/examples/employee.fdb;
>
> Use CONNECT or CREATE DATABASE to specify a database
>
> SQL> CONNECT
> "/Library/Frameworks/Firebird/framework/resources/examples/empbuild/employee.fdb"
> user SYSDBA password 'masterkey';
>
> Statement failed, SQLSTATE = 08006
>
> Unable to complete network request to host "localhost".
>
> -Failed to establish a connection.

Did you start the Firebird server? If not you cannot connect through
localhost.

Mark

--
Mark Rotteveel