Question : yii2 postgresql connection
Answered by : tender-turkey-3o1pfvrdrqo8
'db'=>array( 'tablePrefix'=>'', 'connectionString' => 'pgsql:host=localhost;port=5432;dbname=postgres', 'username'=>'postgres', 'password'=>'postgres', 'charset'=>'UTF8',
),
Source : https://forum.yiiframework.com/t/connecting-to-postgresql/43533 | Last Update : Thu, 07 Apr 22