Drupal Association members fund grants that make connections all over the world.
I apologize if I've missed a duplicate issue- I have searched.
I've been using drush for months on my Mac laptop (OS 10.6). I have downgraded php to 5.2 by compiling from source and force drush to use the downgraded php on the command line via a bash alias.
I suddenly am unable to run
drush up The result is:
'all' cache was cleared [success] The external command could not be executed due to an application error. [error] SQLSTATE[HY000]  No such file or directory [warning] Drush was not able to start (bootstrap) the Drupal database. [error] Hint: This error often occurs when Drush is trying to bootstrap a site that has not been installed or does not have a configured database. Drush was attempting to connect to : Drupal version : 6.19 Site URI : http://default Database driver : mysqli Database hostname : localhost Database username : ******* Database name : c3drupal Default theme : garland Administration theme: garland PHP configuration : Drush version : 3.1 Drush configuration: Drupal root : /Volumes/SPD-MacBookProHD/Users/shawn/Sites/c3design Site path : sites/default Modules path : sites/all/modules Themes path : sites/all/themes File directory path: sites/default/files %paths : Array You can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line or $options['uri'] in your drushrc.php file. Drush command could not be completed. [error] Output from failed command : [error] An error occurred at function : drush_pm_post_pm_update [error]
drush status works fine and yields:
SPD-MacBookPro:c3design shawn$ drush status Drupal version : 6.19 Site URI : http://default Database driver : mysqli Database hostname : localhost Database username : ***** Database name : c3drupal Database : Connected Drupal bootstrap : Successful Drupal user : Anonymous Default theme : c3_centric Administration theme : c3_centric PHP configuration : Drush version : 3.1 Drush configuration : Drupal root : /Volumes/SPD-MacBookProHD/Users/shawn/Sites/c3design Site path : sites/default File directory path : sites/default/files
I thought it was a problem with drush version 3.3 because I first noticed it after an upgrade today, but downgrading back to 3.1 the problem still persists.
Exchanging localhost for the loopback ip doesn't work. Site loads fine in browser. Update php runs fine from the browser. Any clues? I miss my drush.