Skip to content

Trusted connection option causes -99999 on IBM i #65

Open
@NattyNarwhal

Description

@NattyNarwhal
$options['trustedcontext'] = DB2_TRUSTED_CONTEXT_ENABLE; // $options passed to db2_connect

Is enough to cause a message like:

PHP Warning:  db2_connect(): Error occurred in SQL Call Level Interface SQLCODE=-99999

The trusted connection stuff is inert on IBM i (IIRC, it's not supported by SQL/CLI on it). It should be doing nothing, rather than mucking things up.

Likely resolution: just #ifdef it out. A lot of trusted context stuff is already this way, so it's curious it's not here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions