I'm curious to see how this is resolved, please let us know Hailu Dyami On Thu, Feb 25, 2016 at 7:08 PM, Jeff Mard <jeffmard at gmail.com> wrote: > > > > > From one of my Drupal guys: > > I looked it up to check and it can be multiple things but one stood out to > me that might solve it from the info he sent. > > In settings.php use 127.0.0.1 instead of localhost for the mysql server > host. > > Or in his case, the drushrc.php file change it there to 127.0.0.1 and see > if that helps. > > ----- > Jeff Mard > 203.451.2761 > @JeffMard > > On Feb 25, 2016, at 1:06 PM, Mark D. Hamill <markdhamill at gmail.com> wrote: > > > > > David, I recommend posting these sorts of questions on stackoverflow.com. > Fast and accurate response is usually a given. > > On Thu, Feb 25, 2016 at 11:00 AM, David Korpiewski <davidk at cs.umass.edu> > wrote: > >> >> >> >> >> I have a two drupal 7 sites, one is a devel site that I use git to update >> the main site. On the devel site drush works fine for updating the core: >> >> drush @site pm-update >> >> works fine >> >> However when I try to update the master site, the pm-update can't >> "bootstrap" the database even though the site works fine. (which means the >> settings.php file is fine) >> >> *drush @site pm-update* >> *Command pm-update needs a higher bootstrap level to run - you will need >> to invoke drush from a more functional Drupal environment to run this >> [error]* >> *command.* >> *The drush command 'pm-update' could not be >> executed. >> [error]* >> *Drush was not able to start (bootstrap) the Drupal >> database. >> [error]* >> *Hint: This may occur when Drush is trying to:* >> * * bootstrap a site that has not been installed or does not have a >> configured database. In this case you can select another site with a >> working* >> *database setup by specifying the URI to use with the --uri parameter on >> the command line. See `drush topic docs-aliases` for details.* >> * * connect the database through a socket. The socket file may be wrong >> or the php-cli may have no access to it in a jailed shell. See* >> *http://drupal.org/node/1428638 <http://drupal.org/node/1428638> for >> details.* >> >> I have even gone so far as to exclusively put the database information >> into the aliases.drushrc.php file and still it gives me this error. >> >> Any ideas why I can't bootstrap this database even though everything >> appears to be in complete order? >> >> my aliases entry (with key information changed): >> $aliases['site'] = array( >> 'uri' => 'mysite.edu', >> 'root' => '/usr/local/net/www/httpd/web/drupal7', >> 'databases' => >> array ( >> 'default' => >> array( >> 'default' => >> array( >> 'database' => 'dbforsite', >> 'username' => 'usernameforsite', >> 'password' => 'password', >> 'host' => 'localhost', >> 'port' => '', >> 'driver' => 'mysql', >> 'prefix' => '', >> ), >> ), >> ), >> ); >> >> Thank you in advance! >> David >> >> >> -- >> >> *David Korpiewski* >> Software Specialist I >> CSCF - Computer Science Computing Facility >> University of Massachusetts Amherst >> 413-545-4319 >> >> _______________________________________________ >> Hidden-discuss mailing list - home page: http://www.hidden-tech.net >> Hidden-discuss at lists.hidden-tech.net >> >> You are receiving this because you are on the Hidden-Tech Discussion list. >> If you would like to change your list preferences, Go to the Members >> page on the Hidden Tech Web site. >> http://www.hidden-tech.net/members >> > > > > -- > Cogito ergo boggum? > > _______________________________________________ > Hidden-discuss mailing list - home page: http://www.hidden-tech.net > Hidden-discuss at lists.hidden-tech.net > > You are receiving this because you are on the Hidden-Tech Discussion list. > If you would like to change your list preferences, Go to the Members > page on the Hidden Tech Web site. > http://www.hidden-tech.net/members > > > _______________________________________________ > Hidden-discuss mailing list - home page: http://www.hidden-tech.net > Hidden-discuss at lists.hidden-tech.net > > You are receiving this because you are on the Hidden-Tech Discussion list. > If you would like to change your list preferences, Go to the Members > page on the Hidden Tech Web site. > http://www.hidden-tech.net/members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.hidden-tech.net/pipermail/hidden-discuss/attachments/20160226/d6f92a1e/attachment.html