<?php

return [
  'class' => 'yii\db\Connection',
  'dsn' => 'mysql:host=localhost;dbname=chopin_development',
  'username' => 'root',
  'password' => '',
  'charset' => 'utf8',
];

<?php

return [
  'class' => 'yii\db\Connection',
  'dsn' => 'mysql:host=localhost;dbname=chopin_development',
  'username' => 'chopin',
  'password' => '',
  'charset' => 'utf8',
];

Change db user to 'chopin'
Change db user to 'chopin'
