yajra / pdo-via-oci8

PHP PDO_OCI functions via OCI8 extension
Other
88 stars 61 forks source link

oci_connect(): OCI_SUCCESS_WITH_INFO: ORA-28002: the password will expire within 97 days #135

Closed supuna97 closed 6 months ago

supuna97 commented 7 months ago

Summary of problem or feature request

I tried to get data from query. But this warning causes the application to crash. But this works fine in pdo-via-oci8 v2.0. The error is giving the version from pdo-via-oci8 v3.0.

Code snippet of problem

try {
    $pdo = DB::connection('core')->getPdo();
} catch (\Throwable $e) {
    dd($e);
}

System details

yajra commented 6 months ago

On v2, we used to suppress the error. Do you think we should revert it? Please feel free to submit a PR.

v3 https://github.com/yajra/pdo-via-oci8/blob/3.0/src/Pdo/Oci8.php#L142

v2 https://github.com/yajra/pdo-via-oci8/blob/2.0/src/Pdo/Oci8.php#L480

supuna97 commented 6 months ago

Fixed. Refer #136