The problem with the dB connection: yii migrate exception uknown database for a given database. How to fix?
Trying to run advanced application yiiframework.
Run the command yii migrate from cmd.
Gives the error "Uknown database 'yii2a'". That is, does not see such a database, but it exists(created using phpMyAdmin).
Comrades who know, please tell me how to fix it and run the framework.
P. S( the name of the database was set common\config\main-local.php )