Subject | Re: [firebird-php] Interbase XE7 (ODS 16) |
---|---|
Author | Lester Caine |
Post date | 2015-07-16T08:13:55Z |
On 16/07/15 04:13, Ice Berg iceberg98286@... [firebird-php] wrote:
... that is a Firebird default and I'm not sure what Interbase does, but
did you set ROLE or was it already populated? Do you have role set on
the other tools?
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
> Thanks for being willing to work on this.Most of the time this just works, but I THINK your problem is the ROLE
... that is a Firebird default and I'm not sure what Interbase does, but
did you set ROLE or was it already populated? Do you have role set on
the other tools?
> The code is:--
>
> $database = $dbName;
> // Debug
> echo $database . '<br/>';
> echo USER . '<br/>';
> echo PASSWORD . '<br/>';
> echo ROLE . '<br/>';
>
> $db = ibase_connect( $database , USER, PASSWORD,'',0,3, ROLE );
> $result = $db;
> if ( $db = False ) {
> $errorMsg = 'Database Connection Failure';
> die( $errorMsg );
> }
> return $result;
>
> And the output is
>
> localhost:C:\Auction\Auction.IB
> SYSDBA
> masterkey
> ADMIN
>
> *Warning*: ibase_connect() [function.ibase-connect
> <http://127.0.0.1/auction/sr_2015/function.ibase-connect>]: Your
> user name and password are not defined. Ask your database
> administrator to set up an InterBase login.
> in*C:\Users\RKG\Documents\Work\Apache\php\include\rkg_ib_utils.php* on
> line *68*
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk