whc-projects / yii2-flysystem-wrapper

yii2 interface for manager and powering fly system
4 stars 5 forks source link

Missing required parameter "dsn" when instantiating "PDO". #9

Open alexkart opened 7 years ago

alexkart commented 7 years ago

When I try to use the extension as described in README.md on fresh yii2 installation (with Integral\Flysystem\Adapter\PDOAdapter adapter) it throws an exception:

Invalid Configuration – yii\base\InvalidConfigException Missing required parameter "dsn" when instantiating "PDO".

Exception

It cannot resolve PDO dependency of the PDOAdapter.

rezaei121 commented 7 years ago

Hey Alexander, I reviewed the extension again and I did not see any problems! please check your database configuration.

alexkart commented 7 years ago

Have tried to install the extension on fresh yii2-basic installation, maybe some additional configuration is required that you didn't mention in the readme. My database configuration is correct.