Skip to content

AN EXCEPTION OCCURRED IN DRIVER: ORA-01017: INVALID USERNAME/PASSWORD; LOGON DENIED in PHP #4732

Closed
@kk156677

Description

@kk156677

Bug Report

File: /appfolder/apps/appname/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractOracleDriver.php:65
Message: An exception occurred in driver: ORA-01017: invalid username/password; logon denied

ADDITIONAL INFORMATION:
Doctrine\DBAL\Exception\ConnectionException

Stack trace:
#0 /appfolder/apps/appname/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(176): Doctrine\DBAL\Driver\AbstractOracleDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\OCI8\OCI8Exception))
#1 /appfolder/apps/appname/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(161): Doctrine\DBAL\DBALException::wrapException(Object(Doctrine\DBAL\Driver\OCI8\Driver), Object(Doctrine\DBAL\Driver\OCI8\OCI8Exception), 'An exception oc...')
#2 /appfolder/apps/appname/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/OCI8/Driver.php(48): Doctrine\DBAL\DBALException::driverException(Object(Doctrine\DBAL\Driver\OCI8\Driver), Object(Doctrine\DBAL\Driver\OCI8\OCI8Exception))
#3 /uc01/apps/parking_portal/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(372): Doctrine\DBAL\Driver\OCI8\Driver->connect(Array, 'dbusername', 'oldpassword', Array)......

I'm getting the above error in my PHP 7.3 application(Linux server apache) in the Test environment whereas Production is working fine. I checked Oracle DB user name and password everything is correct and able to connect with those credentials in SQL Developer.

One weird thing I observed in the Stack Trace, even after updating the password in the PHP file and still getting the old password in the Stack Trace #3 mentioned 'old password'.

Screenshot FYR:
image

Any help or suggestions will be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions