apaoww / yii2-oci8

Yii2 Oracle Oci8 Driver
11 stars 12 forks source link

ORA-01017: invalid username/password; logon denied #2

Closed miklblitz closed 8 years ago

miklblitz commented 8 years ago

I configured db.php for my yii2 project.

return [
    'class' => 'apaoww\oci8\Oci8DbConnection',
    'dsn' => 'oci8:dbname=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MY_ORACLE_DB_IP)(PORT=1521))(CONNECT_DATA=(SID=MASTERS)));charset=AL32UTF8;',
    'username' => 'MSK_MASTERS',
    'password' => 'MSK_MASTERS',
    'attributes' => [
        PDO::ATTR_STRINGIFY_FETCHES => true,
    ]
];

but I got error: Creating migration history table "migration"...Exception 'yii\db\Exception' with message 'ORA-01017: invalid username/password; logon denied'

But username && password are correct. Where i done error.

miklblitz commented 8 years ago

Sorry, password was incorrect. Issue closed :).

apaoww commented 8 years ago

I am glade you solve the problem.