Cannot update modules with drush – needs higher bootstrap level As stated in this answer Drush needs to find the settings.php file in order to work. My problem is that the settings.php file is indeed in the right folder (and I have navigated to the Drupal root folder before issuing the Drush commands), but it still does not work to update modules with drush. I just get the message that Command pm-update needs a higher bootstrap level to run. It even states itself that the Drupal settings file is located in sites/default/settings.php.

This is the error message:

C:\wamp\www&gt;drush ups
Command pm-updatestatus needs a higher bootstrap level to run - you      [error] will need to invoke drush from a more functional Drupal environment
to run this command.
The drush command 'ups' could not be executed.                           [error]

Drush was not able to start (bootstrap) the Drupal database.             [error]


I have also followed the instructions in this post, with no luck.

What else can I try?
Finally I found an answer that I could adapt to my WAMP environment here. I simply added C:\wamp\bin\mysql\mysql5.7.14\bin to the PATH, and then Drush worked also for updates.