I have the following settings in config/db.php
:
return [
'class' => 'yii\db\Connection'
'dsn' => 'mysql:host=myURL;dbname=mydb',
'username' => 'mydbUsername',
'password' => 'mydbPassword',
'charset' => 'utf8',
];
That above string works in my test-machine, however in the server where I deployed the app does not work.
What is wrong? Thanks.