Answer the question
In order to leave comments, you need to log in
How to make friends yii2 and sqlsrv?
The situation is this: there is a database in microsoft azure, you need to connect an application on yii2 to it.
For the initial launch, I installed yii2 advanced on the local computer (under denwer), configured the config
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'sqlsrv:Server=host;Database=dbname',
'username' => 'login',
'password' => 'pwd',
'charset' => 'utf8',
],
Invalid Configuration – yii\base\InvalidConfigException
The table does not exist: {{%user}}
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