[ 'db' => [ 'class' => 'yii\db\Connection', 'dsn' => 'sqlsrv:Server=192.168.0.101;Database=prolab_api', 'username' => 'sa', 'password' => '', 'charset' => 'utf8', ], 'prolab' => [ 'class' => 'yii\db\Connection', 'dsn' => 'sqlsrv:Server=192.168.0.101;Database=DB_PL', 'username' => 'sa', 'password' => '', 'charset' => 'utf8', ], 'patho' => [ 'class' => \yii\db\Connection::class, 'dsn' => 'mysql:host=172.16.0.7;dbname=prolab_main', //161.82.188.168 'username' => 'apiuser', 'password' => 'Aa157344121165', 'charset' => 'utf8', ], 'mailer' => [ 'class' => 'yii\swiftmailer\Mailer', 'viewPath' => '@common/mail', // send all mails to a file by default. You have to set // 'useFileTransport' to false and configure a transport // for the mailer to send real emails. 'useFileTransport' => true, ], ], ];