Answer the question
In order to leave comments, you need to log in
How to properly connect to Oracle Yii2 DB?
Good afternoon!
I am using Yii2 for a project. I make an Oracle database connection through the web.php file. In components I write:
'dbO' => [
'class' => 'yii\db\Connection',
'dsn'=>'oci:dbname=//{{ЗДЕСЬ МОЙ ХОСТ}};charset=AL32UTF8;',
'username'=>'username',
'password'=>'password',
],
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question