Connect yii2 to Progress

hi!1

someone connected your project with progress (mysql) My connection

return [

        'class' => 'yii\db\Connection',

        'dsn' => 'mysql:host=127.0.0.1;dbname=tuexp',

        'username' => 'root',

        'password' => '',

        'charset' => 'utf8',

    ];

You mean Postgresql?

<?php

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'pgsql:host=localhost;port=5432;dbname=YOUR_DATABASE',
    'username' => 'PGS_USERNAME',
    'password' => 'PGS_PASSWORD',
    'charset' => 'utf8',
];

“Schema map” is redundant.

1 Like

Hi @Tu_Experiencia,

Please check this extension:

Yeah, I took from the code that does “something” on schema and forgot to strip it. Editing…

Never knew such a thing existed. Whoa!

1 Like