2

Anytime I run this to install any extension:
php bin/magento setup:upgrade.
I get the error -

connection "developer" is not defined.

I have tried to change the mode to developer and when I run it, the same issue comes out. this has reduced my ability to install new apps.

How do I resolve this?

0

found a way out.. i went to the app/etc/local.xml

and changed the connection to default and mode to default..

worked out well for me

  • You may mark your answer as accepted if it worked for you. – Rahul Makwana Mar 15 '19 at 12:35
0

env.php just changed 'connection' => 'default'

Fixed :-)

0

After taking pull from git for a running projec, I forgot to put env.php in app/etc dir, and I faced same issue. Check if env.php is there and set the connection for default_setup is "default or developer" as per you deploy mode.

0

As i have checked in env.php there was issue under 'resource' => [ 'default_setup' => [ 'connection' => 'default' ] ],

Connection was developer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.