I am utilizing a Vagrant surroundings generated from https://puphpet.com/ for a Drupal venture & it’s all going nicely apart from Drush which provides me an error any time I strive working “drush cc -all”, see Drupal Developer error under.
<h1>Extra uncaught exception thrown whereas dealing with exception.</h1><h2>Authentic</h2><p>PDOException: SQLSTATE[3D000]: Invalid catalog identify: 1046 No database chosen: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array ( [:ip] =&gt; 127.0.0.1 ) in drupal_is_denied() (line 1933 of /var/www/consists of/bootstrap.inc).</p><h2>Extra</h2><p>PDOException: SQLSTATE[3D000]: Invalid catalog identify: 1046 No database chosen: SELECT * FROM {system} WHERE sort = &#039;theme&#039; OR (sort = &#039;module&#039; AND standing = 1) ORDER BY weight ASC, identify ASC; Array ( ) in system_list() (line 165 of /var/www/consists of/module.inc).</p><hr />Drush command terminated abnormally as a consequence of an unrecoverable error. [error]
From what I collect Drupal Developer drawback is that it is not deciding on a database. Does anybody know the place Drupal Developer particulars for this is able to be saved? Drupal Development Company Drupal web site itself is connecting & utilizing Drupal Developer database superb.
I am unsure if this is able to trigger and difficulty however Drupal Developer database particulars for Drupal Developer Drupal web site are saved as an Apache environmental variable.